source:
CIVL/examples/translation/opencl/testclGetDeviceIDs.cvl@
dcdf9aa
| Last change on this file since dcdf9aa was e01b89d, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 228 bytes | |
| Rev | Line | |
|---|---|---|
| [e01b89d] | 1 | |
| 2 | #include "openCL.cvl" | |
| 3 | void main() | |
| 4 | { | |
| 5 | int err; | |
| 6 | err = clGetDeviceIDs(cl_platform_id platform, | |
| 7 | cl_device_type device_type, | |
| 8 | cl_uint num_entries, | |
| 9 | cl_device_id *devices, | |
| 10 | cl_uint *num_devices) | |
| 11 | $assert err == CL_SUCCESS; | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
