req_dev_type = CL_DEVICE_TYPE_CPU;
}
- while (1)
+ while (true)
{
cl_int status = clGetPlatformIDs(0, nullptr, &ocl_platform_count);
if (CL_SUCCESS != status)
}
//! This function is documented in the header file
-size_t sizeof_gpu_dev_info(void)
+size_t sizeof_gpu_dev_info()
{
return sizeof(gmx_device_info_t);
}