【发布时间】:2016-06-07 07:48:01
【问题描述】:
我成功安装了 ArrayFire,当我选择 Visual Studio 配置 CUDA_x64 时,示例 helloworld 工作正常。但是当我更改为 OpenCL_x64 时,编译成功,但出现如下运行错误:
/**************************************************** ***********************/
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
/**************************************************** ***********************/
任何答案将不胜感激。提前致谢。
【问题讨论】: