Skip to content

sifrrich/ocl-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocl-examples

This repository includes several examples using OpenCL.

Build

cmake is used to generate either Makefiles or projects for Visual Studio.

Out-of-source build is recommended, e.g.

mkdir ocl-examples-build
cd ocl-examples-build
cmake ocl-examples/CMakeLists.txt

For fft and blas, clFFT and clBLAS have to be available for linking. If the libraries are not installed system-wide, they have to be placed in the dist-directory.
The file dist/tree shows the directory structure expected.

Example Image Format

Some examples contain .dat images. These are essentially pgm images with stripped headers, containing only raw pixels, one byte per pixel, in the range of 0...ff to simplify reading images.

Results are generated using Bitmap file format.

Examples

Releases

No releases published

Packages

No packages published