windows 10 配置OpenCL SDK(mingw 64 编译器)

1.下载SDK

https://software.intel.com/content/www/us/en/develop/tools/opencl-sdk/choose-download.html

2.复制

C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\lib\x64\OpenCL.lib

D:\mingw64\x86_64-w64-mingw32\lib

3.复制CL文件夹的头文件到

D:\mingw64\x86_64-w64-mingw32\include\CL

你可能感兴趣的:(windows 10 配置OpenCL SDK(mingw 64 编译器))