This repository contains samples authored by NVIDIA for OpenCL. A complete list of samples can be found on the official page. Unfortunately, the samples posted on that page do not build cleanly and therefore this repository.
The repo currently includes the following samples:
- oclDeviceQuery
- oclBandwidthTest
- oclVectorAdd
To get started, first install the OpenCL ICD loader:
$ apt-get install -y ocl-icd-opencl-dev
Then, clone this git repo and build the samples:
$ cd OpenCL \
&& make
This will result in the binaries for all the samples located in the OpenCL/bin
directory.