Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelan committed Sep 6, 2024
1 parent cd31277 commit d2ccd82
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 device global memory bound to the device and context associated
// with 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 d2ccd82

Please sign in to comment.