diff --git a/parallel_worlds_1/src/DeviceInterface.hpp b/parallel_worlds_1/src/DeviceInterface.hpp index 911684258b4704e88026d745ea5d19f333786eca..d3090cc387cf5c078229d1bdce6ef83ffdb891b9 100644 --- a/parallel_worlds_1/src/DeviceInterface.hpp +++ b/parallel_worlds_1/src/DeviceInterface.hpp @@ -44,7 +44,7 @@ private: for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin(); platforms.end() != pit; ++pit) { // try to find a device of type devType - CHECK_ERROR(pit->getDevices(devType, &deviceVector)); + pit->getDevices(devType, &deviceVector); /* the C-way: * cl_int clGetDeviceIDs (cl_platform_id platform, * cl_device_type device_type, diff --git a/parallel_worlds_2/src/DeviceInterface.hpp b/parallel_worlds_2/src/DeviceInterface.hpp index 911684258b4704e88026d745ea5d19f333786eca..d3090cc387cf5c078229d1bdce6ef83ffdb891b9 100644 --- a/parallel_worlds_2/src/DeviceInterface.hpp +++ b/parallel_worlds_2/src/DeviceInterface.hpp @@ -44,7 +44,7 @@ private: for (VECTOR_CLASS<cl::Platform>::iterator pit = platforms.begin(); platforms.end() != pit; ++pit) { // try to find a device of type devType - CHECK_ERROR(pit->getDevices(devType, &deviceVector)); + pit->getDevices(devType, &deviceVector); /* the C-way: * cl_int clGetDeviceIDs (cl_platform_id platform, * cl_device_type device_type,