clGetDeviceInfo returns wrong value

Bug #931375 reported by Kalle Raiskila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocl
Fix Released
Undecided
Unassigned

Bug Description

When querying *only* the number of devices on a platform, clGetDeviceInfo returns CL_DEVICE_NOT_FOUND. E.g.:
clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, 0, NULL, &num_devices);
Should always return success (if platform is valid ;) )

Fix attached.

Related branches

Revision history for this message
Kalle Raiskila (kraiskil) wrote :
Changed in pocl:
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.