-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Add profiling info for host execution #679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL] Add profiling info for host execution #679
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test for new API with some simple checks like !(endTime < startTime)?
f84cd50
to
960b224
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -128,6 +128,9 @@ Command::Command(CommandType Type, QueueImplPtr Queue, bool UseExclusiveQueue) | |||
MEvent.reset(new detail::event_impl()); | |||
MEvent->setCommand(this); | |||
MEvent->setContextImpl(detail::getSyclObjImpl(MQueue->get_context())); | |||
if (MQueue->is_host() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you doing it here? I think this code should be in event_impl c'tor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this to event_impl c'tor.
Signed-off-by: Sergey Dmitriev <serguei.n.dmitriev@intel.com>
960b224
to
39b9cb2
Compare
Experimental support of extra DWARF operations As this functionality is not documented by any formal SPIR-V extension or SPIR-V extended instruction set specification, it is disabled by default and in order to enable generation of extra debug information, user needs to pass `spirv-allow-extra-diexpressions` command line option to the translator. Signed-off-by: Andrew Savonichev <andrew.savonichev@intel.com>
Signed-off-by: Sergey Dmitriev serguei.n.dmitriev@intel.com