Commit bc1bc3e9 authored by Oliver Bock's avatar Oliver Bock
Browse files

Fixed/improved error message

parent 2bb2ad3d
......@@ -737,7 +737,7 @@ int main (int argc, char * const argv[]) {
err = clGetDeviceIDs(NULL, device_type, sizeof(device_ids), device_ids, &num_devices);
if(err)
{
log_error("clGetComputeDevice failed\n");
printf("ERROR: clGetDeviceIDs failed with error: %d\n", err);
test_finish();
return -1;
}
......
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