Commit 9c238ef
fix(clGetDeviceIDs): check error
Applying fix from https://github.com/wjmelements
see <johguse#23>
Fixes:
```
-33 is CL_INVALID_DEVICE.
I hunted down the origin of the corruption and determined it was an unhandled error.
Changes
Check the return value of clGetDeviceIDs
```
johguse/ERADICATE2@master...wjmelements:ERADICATE2:clGetDeviceIDs-error#files_bucket1 parent 0f409ab commit 9c238ef
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
300 | | - | |
| 303 | + | |
301 | 304 | | |
302 | 305 | | |
303 | 306 | | |
| |||
0 commit comments