vcpkg/ports/opencl/usage
Nagy-Egri Máté Ferenc b21c895ca5 Add OpenCL SDK and clMath ports (#2837)
* initial clFFT porting

* OpenCL SDK half baked

* Tried fixing Debug/Release

* Remove DLL deployment

* OpenCL SDK installs

* clFFT installs

* clFFT properly depends on OpenCL

* OpenCL SDK fixes and clFFT patches

* [clfft][opencl] Simplification, use patches instead of full files.
2018-03-01 08:08:53 -08:00

8 lines
318 B
Plaintext

The package opencl is compatible with built-in CMake targets:
find_package(OpenCL REQUIRED)
target_link_libraries(main PRIVATE ${OpenCL_LIBRARIES})
target_include_directories(main PRIVATE ${OpenCL_INCLUDE_DIRS})
You will also need to install an appropriate driver package from your CPU/GPU manufacturer.