Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Allocation is for device USM, not shared USM.
  • Loading branch information
hdelan committed Sep 6, 2024
1 parent 93170a2 commit 0aee54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adoc/code/usm_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +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
// Allocate device memory bound to the device and context associated to the
// queue
int* data = sycl::malloc_device<int>(1024, myQueue);

Expand Down

0 comments on commit 0aee54e

Please sign in to comment.