Skip to content

Commit

Permalink
Merge pull request KhronosGroup#622 from gmlueck/gmlueck/cherry-pick-614
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
gmlueck authored Sep 14, 2024
2 parents 649dc03 + e7b044b commit 110c7a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adoc/code/usm_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ int main() {
// Create a default queue to enqueue work to the default device
queue myQueue;

// Allocate shared memory bound to the device and context associated to the
// queue
// Allocate device USM, using the device and context associated with the queue
int* data = sycl::malloc_device<int>(1024, myQueue);

myQueue.parallel_for(1024, [=](id<1> idx) {
Expand Down

0 comments on commit 110c7a2

Please sign in to comment.