We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Windows, install Visual Studio (VS) 2022 Community Edition configured for Desktop C/C++ development. https://visualstudio.microsoft.com/vs/community/
git clone http://github.com/krrishnarraj/clpeak
Download the current release of OpenCL headers and library from https://github.com/KhronosGroup/OpenCL-SDK/releases
Do not use OCL_SDK_Light from https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
Place the Khronos OpenCL-SDK in a file path of your choice.
Add Windows environment variables or add these variables to the CMakeSettings of a VS project's configuration.
Note that OpenCL_LIBRARY should be set to the fully qualified path of the OpenCL.lib file.
example of Windows environment variables:
OpenCL_INCLUDE_DIR C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/include
OpenCL_LIBRARY C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/lib/OpenCL.lib
example of CMakeSettings variables of a VS project configuration:
{ "name": "OpenCL_INCLUDE_DIR", "value": "C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/include", "type": "PATH" }, { "name": "OpenCL_LIBRARY", "value": "C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/lib/OpenCL.lib", "type": "FILEPATH" }
In Visual Studio, build a release of clpeak.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Windows, install Visual Studio (VS) 2022 Community Edition configured for Desktop C/C++ development. https://visualstudio.microsoft.com/vs/community/
git clone http://github.com/krrishnarraj/clpeak
Download the current release of OpenCL headers and library from https://github.com/KhronosGroup/OpenCL-SDK/releases
Do not use OCL_SDK_Light from https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
Place the Khronos OpenCL-SDK in a file path of your choice.
Add Windows environment variables or add these variables to the CMakeSettings of a VS project's configuration.
Note that OpenCL_LIBRARY should be set to the fully qualified path of the OpenCL.lib file.
example of Windows environment variables:
OpenCL_INCLUDE_DIR
C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/include
OpenCL_LIBRARY
C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/lib/OpenCL.lib
example of CMakeSettings variables of a VS project configuration:
{
"name": "OpenCL_INCLUDE_DIR",
"value": "C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/include",
"type": "PATH"
},
{
"name": "OpenCL_LIBRARY",
"value": "C:/Users/your_user_name/some_path/OpenCL-SDK-v2023.02.06-Win-x64/OpenCL-SDK-v2023.02.06-Win-x64/lib/OpenCL.lib",
"type": "FILEPATH"
}
In Visual Studio, build a release of clpeak.
The text was updated successfully, but these errors were encountered: