Skip to content

Commit

Permalink
Merge pull request #549 from gmlueck/gmlueck/get-pointer-typo
Browse files Browse the repository at this point in the history
Fix typo with "accessor::get_pointer"
  • Loading branch information
gmlueck authored Jun 13, 2024
2 parents 299d238 + 82bfd76 commit 1b8c0c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6924,7 +6924,7 @@ accessor was constructed. For other accessors, returns the default constructed
a@
[source]
----
global_ptr<access::decorated::legacy> get_pointer() const noexcept
global_ptr<value_type> get_pointer() const noexcept
----
a@ Available only when [code]#(AccessTarget == target::device)#.

Expand Down
2 changes: 1 addition & 1 deletion adoc/headers/accessorBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class accessor {

/* Deprecated in SYCL 2020
Available only when: (AccessTarget == target::device) */
global_ptr<DataT> get_pointer() const noexcept;
global_ptr<value_type> get_pointer() const noexcept;

/* Available only when: (AccessTarget == target::host_task) */
std::add_pointer_t<value_type> get_pointer() const noexcept;
Expand Down

0 comments on commit 1b8c0c0

Please sign in to comment.