Commit 95b044bd by Kai Westerkamp

error message

parent 946e6ff9
...@@ -92,7 +92,7 @@ bool CAssignmentBase::InitCLContext() ...@@ -92,7 +92,7 @@ bool CAssignmentBase::InitCLContext()
cl_uint countDevices; cl_uint countDevices;
cl_int clError; cl_int clError;
clError = clGetDeviceIDs(platformIds[i], deviceType, 1, &deviceIds[countAllDevices], &countDevices); clError = clGetDeviceIDs(platformIds[i], deviceType, 1, &deviceIds[countAllDevices], &countDevices);
V_RETURN_FALSE_CL(clError, "Failed to create the command queue in the context"); V_RETURN_FALSE_CL(clError, "Failed to get Device IDs");
for (size_t j = 0; j < countDevices; j++) for (size_t j = 0; j < countDevices; j++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment