- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hy all,
Maybe I'm wrong but I think I have found a bug in the OpenCL SDK 2012 with the clGetDeviceIDs function.
When I call it with these parameters:
clGetDeviceIDs(intelPlatformId, CL_DEVICE_TYPE_GPU, 0, NULL, &nbDevice);
it must returnsCL_DEVICE_NOT_FOUND but it returns CL_SUCCESS and nbDevice is set to 0.
I don't try with other DEVICE_TYPE but I can if needed.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reporting the issue. Yes, it looks like a bug (I verified I am seeing the same behavior as you). When no devices are found matching the device_id, clGetDeviceIDs must return CL_DEVICE_NOT_FOUND. I will file an issue and let you know when a fix is available.
Thanks,
Raghu
Thanks for reporting the issue. Yes, it looks like a bug (I verified I am seeing the same behavior as you). When no devices are found matching the device_id, clGetDeviceIDs must return CL_DEVICE_NOT_FOUND. I will file an issue and let you know when a fix is available.
Thanks,
Raghu

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page