diff options
-rw-r--r-- | src/cl-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl-utils.c b/src/cl-utils.c index 725ea49c..a7d23371 100644 --- a/src/cl-utils.c +++ b/src/cl-utils.c @@ -55,7 +55,7 @@ cl_device_id get_first_dev(cl_context ctx) r = clGetContextInfo(ctx, CL_CONTEXT_DEVICES, sizeof(dev), &dev, NULL); if ( r != CL_SUCCESS ) { - ERROR("Couldn't get device\n"); + ERROR("Couldn't get device: %s\n", clError(r)); return 0; } |