source: CIVL/examples/translation/opencl/testclGetDeviceIDs.cvl@ dcdf9aa

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since dcdf9aa was e01b89d, checked in by Jacob Trieu <fuufusuu@…>, 12 years ago

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1067 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 228 bytes
Line 
1
2#include "openCL.cvl"
3void 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.