Skip to content

Commit

Permalink
Merge pull request #614 from hdelan/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
gmlueck authored Sep 8, 2024
2 parents a222068 + d2ccd82 commit 781e4fe
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 781e4fe

Please sign in to comment.