We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580c4f7 commit cea476cCopy full SHA for cea476c
sycl/include/syclcompat/memory.hpp
@@ -785,9 +785,8 @@ static buffer_t get_buffer(const void *ptr) {
785
/// \returns A host pointer
786
template <typename T> static inline T *get_host_ptr(const void *ptr) {
787
auto BufferOffset = get_buffer_and_offset(ptr);
788
- auto host_ptr =
789
- BufferOffset.first.get_host_access()
790
- .get_multi_ptr<sycl::access::decorated::no>();
+ auto host_ptr = BufferOffset.first.get_host_access()
+ .get_multi_ptr<sycl::access::decorated::no>();
791
return (T *)(host_ptr + BufferOffset.second);
792
}
793
0 commit comments