cltuil.c:fix build warning (#1419)

pull/1421/head
Dean Lee 5 years ago committed by GitHub
parent 6840f96009
commit 35362965d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/common/clutil.c

@ -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);

Loading…
Cancel
Save