Skip to content
Snippets Groups Projects
Commit 17a3da7b authored by faber's avatar faber
Browse files

Forgot one file?

parent 034329f3
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ private: ...@@ -44,7 +44,7 @@ private:
for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin(); for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin();
platforms.end() != pit; ++pit) { platforms.end() != pit; ++pit) {
// try to find a device of type devType // try to find a device of type devType
CHECK_ERROR(pit->getDevices(devType, &deviceVector)); pit->getDevices(devType, &deviceVector);
/* the C-way: /* the C-way:
* cl_int clGetDeviceIDs (cl_platform_id platform, * cl_int clGetDeviceIDs (cl_platform_id platform,
* cl_device_type device_type, * cl_device_type device_type,
......
...@@ -44,7 +44,7 @@ private: ...@@ -44,7 +44,7 @@ private:
for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin(); for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin();
platforms.end() != pit; ++pit) { platforms.end() != pit; ++pit) {
// try to find a device of type devType // try to find a device of type devType
CHECK_ERROR(pit->getDevices(devType, &deviceVector)); pit->getDevices(devType, &deviceVector);
/* the C-way: /* the C-way:
* cl_int clGetDeviceIDs (cl_platform_id platform, * cl_int clGetDeviceIDs (cl_platform_id platform,
* cl_device_type device_type, * cl_device_type device_type,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment