mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 16:29:03 +00:00
Use correct format for unsigned long
This commit is contained in:
committed by
Kévin Petit
parent
3ff36af595
commit
9e4bd21d0b
@@ -453,7 +453,7 @@ size_t getBufferSize(cl_device_id device_id)
|
|||||||
}
|
}
|
||||||
if (result > BUFFER_SIZE)
|
if (result > BUFFER_SIZE)
|
||||||
result = BUFFER_SIZE;
|
result = BUFFER_SIZE;
|
||||||
log_info("Using const buffer size 0x%lx (%ld)\n", (unsigned long)result, (unsigned long)result);
|
log_info("Using const buffer size 0x%lx (%lu)\n", (unsigned long)result, (unsigned long)result);
|
||||||
err = clGetDeviceInfo (device_id,
|
err = clGetDeviceInfo (device_id,
|
||||||
CL_DEVICE_GLOBAL_MEM_SIZE,
|
CL_DEVICE_GLOBAL_MEM_SIZE,
|
||||||
sizeof(maxGlobalSize), (void *)&maxGlobalSize,
|
sizeof(maxGlobalSize), (void *)&maxGlobalSize,
|
||||||
|
|||||||
Reference in New Issue
Block a user