aboutsummaryrefslogtreecommitdiff
path: root/ports/opencl/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/opencl/usage')
-rw-r--r--ports/opencl/usage7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/opencl/usage b/ports/opencl/usage
new file mode 100644
index 000000000..699ff0170
--- /dev/null
+++ b/ports/opencl/usage
@@ -0,0 +1,7 @@
+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.