Skip to content

Commit

Permalink
Update adoc/extensions/sycl_khr_queue_empty_query.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Ronan Keryell <[email protected]>
  • Loading branch information
TApplencourt and keryell committed Jan 30, 2025
1 parent fa38af0 commit 9a36237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adoc/extensions/sycl_khr_queue_empty_query.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The example below demonstrates the usage of this extension.
int main() {
// Pool of queues, one per device
std::vector<sycl::queue> Qs;
for (sycl::device& d : sycl::platform {}.get_devices())
for (sycl::device& d : sycl::device::get_devices())
Qs.push_back(sycl::queue(d));
// Useful recipe for load-balancing
Expand Down

0 comments on commit 9a36237

Please sign in to comment.