Skip to content

[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

Merged

Conversation

sndmitriev
Copy link
Contributor

Signed-off-by: Sergey Dmitriev serguei.n.dmitriev@intel.com

Copy link
Contributor

@bader bader left a 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)?

@sndmitriev sndmitriev force-pushed the public/sndmitriev/sycl-host-profiling-info branch from f84cd50 to 960b224 Compare September 26, 2019 20:37
@sndmitriev
Copy link
Contributor Author

Can we add a test for new API with some simple checks like !(endTime < startTime)?

Done.

bader
bader previously approved these changes Sep 26, 2019
Copy link
Contributor

@bader bader left a 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() &&
Copy link
Contributor

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.

Copy link
Contributor Author

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>
@sndmitriev sndmitriev force-pushed the public/sndmitriev/sycl-host-profiling-info branch from 960b224 to 39b9cb2 Compare September 27, 2019 15:23
@bader bader requested a review from romanovvlad September 27, 2019 15:30
@bader bader merged commit 6c03c4f into intel:sycl Sep 30, 2019
vladimirlaz pushed a commit that referenced this pull request Sep 29, 2020
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>
@sndmitriev sndmitriev deleted the public/sndmitriev/sycl-host-profiling-info branch December 22, 2020 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants