Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with platforms with no devices
The documentation for clGetDeviceIDs states that if the "devices" pointer is not NULL, then "num_entries" must be greater than zero. In platforms with no devices this would be the case, but the code in the C++ bindings wasn't handling the case correctly. Signed-off-by: Rodrigo Tobar <[email protected]>
- Loading branch information