Skip to content

Commit

Permalink
Merge pull request #583 from bader/mem_advise
Browse files Browse the repository at this point in the history
Fix the link to the table with mem_advice and prefetch method descriptions.
  • Loading branch information
gmlueck authored Jul 18, 2024
2 parents 24716e0 + 20fbaa9 commit fc9f81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10179,15 +10179,15 @@ enqueueing [code]#prefetch# operations on a device.
These operations inform the SYCL runtime that the specified shared allocation is
likely to be accessed on the device in the future, and that it is free to
migrate the allocation to the device.
More about [code]#prefetch# is found in <<table.members.queue>> and
More about [code]#prefetch# is found in <<table.queue.shortcuts>> and
<<table.members.handler.copy>>.
If a device supports concurrent access to shared allocations, then
[code]#prefetch# operations may be overlapped with kernel execution.

Additionally, users may use the [code]#mem_advise# member function to annotate
shared allocations with [code]#advice#.
Valid [code]#advice# is defined by the device and its associated backend.
See <<table.members.queue>> and <<table.members.handler.copy>> for more
See <<table.queue.shortcuts>> and <<table.members.handler.copy>> for more
information.

In the most capable systems, users do not need to use SYCL USM allocation
Expand Down

0 comments on commit fc9f81c

Please sign in to comment.