I installed ArrayFire successfully, and the example helloworld works fine when I choose the Visual Studio configuration CUDA_x64. However when I change to OpenCL_x64, the compilation is successful, but I get the running error as below:
/*********************************************************************/
ArrayFire Exception (Internal error:998):
In function __cdecl opencl::DeviceManager::DeviceManager(void)
In file src\backend\opencl\platform.cpp:329
OpenCL Error (-2): Device Not Available when calling clCreateContext
In function void __cdecl af::setDevice(const int)
In file src\api\cpp\device.cpp:91
/*********************************************************************/
Any answers will be appreciated. Thanks in advance.