Skip to content

Commit cea476c

Browse files
committed
Formatting
1 parent 580c4f7 commit cea476c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sycl/include/syclcompat/memory.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,8 @@ static buffer_t get_buffer(const void *ptr) {
785785
/// \returns A host pointer
786786
template <typename T> static inline T *get_host_ptr(const void *ptr) {
787787
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>();
788+
auto host_ptr = BufferOffset.first.get_host_access()
789+
.get_multi_ptr<sycl::access::decorated::no>();
791790
return (T *)(host_ptr + BufferOffset.second);
792791
}
793792

0 commit comments

Comments
 (0)