Closed jvesely closed 4 years ago
clGetDeviceIDs returns CL_DEVICE_NOT_FOUND when a device type is not present. Since the code does not check the return value, initialize counts to 0.
clGetDeviceIDs returns CL_DEVICE_NOT_FOUND when a device type is not present. Since the code does not check the return value, initialize counts to 0.