Skip to content

Commit b9bfd6c

Browse files
committed
Format opencl tests
1 parent 3d4f15b commit b9bfd6c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sycl/test-e2e/Adapters/luid-opencl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ int main() {
2828
char *luidOpencl = nullptr;
2929

3030
clGetDeviceInfo(openclDevice, CL_DEVICE_LUID_KHR,
31-
sizeof(char) * CL_LUID_SIZE_KHR, luidOpencl, nullptr);
31+
sizeof(char) * CL_LUID_SIZE_KHR, luidOpencl, nullptr);
3232

3333
std::stringstream luidOpenclHex;
3434
for (int i = 0; i < 8; ++i)
35-
luidOpenclHex << std::hex << std::setw(2) << std::setfill('0')
36-
<< int(luidOpencl[i]);
35+
luidOpenclHex << std::hex << std::setw(2) << std::setfill('0')
36+
<< int(luidOpencl[i]);
3737
std::cout << "OpenCL : " << luidOpenclHex.str() << std::endl;
3838

3939
if (luidSYCLHex.str() != luidOpenclHex.str()) {

sycl/test-e2e/Adapters/node_mask-opencl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ int main() {
2222

2323
uint32_t *nodeMaskOpencl = nullptr;
2424

25-
clGetDeviceInfo(openclDevice, CL_DEVICE_NODE_MASK_KHR,
26-
sizeof(uint32_t), nodeMaskOpencl, nullptr);
25+
clGetDeviceInfo(openclDevice, CL_DEVICE_NODE_MASK_KHR, sizeof(uint32_t),
26+
nodeMaskOpencl, nullptr);
2727

2828
std::cout << "OpenCL : " << *nodeMaskOpencl << std::endl;
2929

0 commit comments

Comments
 (0)