Skip to content
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

[Dynamic Selection] Adding profiling to sycl backend #1893

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AnuyaWelling2801
Copy link
Contributor

Removed host task and added sycl profiling to sycl_backend

@AnuyaWelling2801 AnuyaWelling2801 changed the title Adding profiling to sycl backend [Dynamic Load] Adding profiling to sycl backend Oct 16, 2024
@AnuyaWelling2801 AnuyaWelling2801 changed the title [Dynamic Load] Adding profiling to sycl backend [Dynamic Selection] Adding profiling to sycl backend Oct 16, 2024
@@ -86,6 +85,9 @@ class sycl_backend
std::chrono::nanoseconds(time_end - time_start)));
}
}
if constexpr (report_info_v<Selection, execution_info::task_completion_t>){
s->report(execution_info::task_completion);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why no check for s != nullptr in this if?

if(!e.get_device().has(sycl::aspect::ext_oneapi_queue_profiling_tag)){
if (!e.template has_property<sycl::property::queue::enable_profiling>()){
auto prop_list = sycl::property_list{sycl::property::queue::enable_profiling()};
auto e_tmp = sycl::queue{e.get_device(), prop_list};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should other properties also be copied from the original queue and then enable_profling added on top of those?

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.

2 participants