From 17a3da7b2b01ec5a875c8060bf69bc241e83a64f Mon Sep 17 00:00:00 2001 From: faber <faber@j102wsdozent> Date: Sat, 15 Feb 2020 16:47:37 +0100 Subject: [PATCH] Forgot one file? --- parallel_worlds_1/src/DeviceInterface.hpp | 2 +- parallel_worlds_2/src/DeviceInterface.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parallel_worlds_1/src/DeviceInterface.hpp b/parallel_worlds_1/src/DeviceInterface.hpp index 9116842..d3090cc 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 9116842..d3090cc 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, -- GitLab