Skip to content

Commit e59ed9a

Browse files
committed
Minor fixes
* Fix clang-format issue * Fix using statement Signed-off-by: Artur Gainullin <[email protected]>
1 parent b0fabec commit e59ed9a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sycl/include/CL/sycl/detail/pi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ struct pi_buffer_region_struct {
699699
size_t origin;
700700
size_t size;
701701
};
702-
using pi_buffer_region_struct *pi_buffer_region;
702+
using pi_buffer_region = pi_buffer_region_struct *;
703703

704704
// Offload binaries descriptor version supported by this library.
705705
static const uint16_t PI_DEVICE_BINARIES_VERSION = 1;

sycl/plugins/Intel_level0/pi_level0.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,4 +343,3 @@ struct _pi_sampler {
343343
// Must be atomic to prevent data race when incrementing/decrementing.
344344
std::atomic<pi_uint32> RefCount;
345345
};
346-

0 commit comments

Comments
 (0)