Skip to content

Commit

Permalink
Merge pull request #538 from VerenaBeckham/verena/get_access_host_task
Browse files Browse the repository at this point in the history
Fix description of get_access()
  • Loading branch information
gmlueck authored Apr 4, 2024
2 parents b8ae78b + 2e43f29 commit 90a6694
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4662,8 +4662,9 @@ accessor<T, Dimensions, Mode, Targ> get_access(handler& commandGroupHandler)
----
a@ Returns a valid [code]#accessor# to the buffer with the specified
access mode and target in the command group buffer.
The value of target can be [code]#target::device# or
[code]#target::constant_buffer#.
The value of target can be [code]#target::device#,
[code]#target::constant_buffer# or
[code]#target::host_task.

a@
[source]
Expand All @@ -4689,7 +4690,8 @@ accessor<T, Dimensions, Mode, Targ> get_access(handler& commandGroupHandler,
mode and target in the command group buffer. The accessor is a
<<ranged-accessor>>, where the range starts at the given offset from the
beginning of the buffer. The value of target can be
[code]#target::device# or [code]#target::constant_buffer#.
[code]#target::device#, [code]#target::constant_buffer# or
[code]#target::host_task.

Throws an [code]#exception# with the [code]#errc::invalid# error code if
the sum of [code]#accessRange# and [code]#accessOffset# exceeds the range of
Expand Down

0 comments on commit 90a6694

Please sign in to comment.