cltuil.c:fix build warning (#1419)

albatross
Dean Lee 2020-04-24 22:13:43 +08:00 committed by GitHub
parent 6840f96009
commit 35362965d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void cl_print_info(cl_platform_id platform, cl_device_id device) {
size_t sz;
clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(sz), &sz, NULL);
printf("max work group size: %u\n", sz);
printf("max work group size: %zu\n", sz);
cl_device_type type;
clGetDeviceInfo(device, CL_DEVICE_TYPE, sizeof(type), &type, NULL);