https://github.com/upbit/opencl-helper
A simple OpenCL example written in C
https://github.com/upbit/opencl-helper
Last synced: 9 months ago
JSON representation
A simple OpenCL example written in C
- Host: GitHub
- URL: https://github.com/upbit/opencl-helper
- Owner: upbit
- License: wtfpl
- Created: 2013-05-20T14:22:51.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2019-01-15T07:40:50.000Z (over 7 years ago)
- Last Synced: 2025-07-02T17:10:33.004Z (11 months ago)
- Language: C
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
opencl-helper
=============
A simple OpenCL example written in C
usage:
~~~~~ c
OpenCL_Config gstConfig;
OpenCL_Config *pstConfig = &gstConfig;
// Init OpenCL with default GPU device
clInitOpenCLByDefault(pstConfig, CL_DEVICE_TYPE_GPU);
clBuildProgramFromSource(pstConfig, "kernel.cl");
// clEnqueueNDRangeKernel() ..
clFreeOpenCLResources(pstConfig);
~~~~~