我按照网上的要求配好运行环境,但是在VS里运行却遇到上面的问题!
程序可以运行,没有错误,只是之后就出现这个问题!!
#include <CL/cl.h>
#include <stdio.h>
#include <stdlib.h>
#pragma comment (lib,"OpenCL.lib")
int main()
{
cl_uint status;
cl_platform_id platform;
status = clGetPlatformIDs( 1, &platform, NULL );
return 0;
}
请问是不是还有什么库没有配好?还是其他原因?