Skip to content

Commit

Permalink
Fix the link to the table with mem_advice and prefetch method descrip…
Browse files Browse the repository at this point in the history
…tions.
  • Loading branch information
bader committed Jul 15, 2024
1 parent 90fc147 commit 20fbaa9
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 20fbaa9

Please sign in to comment.