Skip to content

rgiduthuri/opencl-detour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCL API Detour

Useful to trace OpenCL calls to help debug your application. Set environment variable OPENCL_DUMP_FLAGS=1 to print the OpenCL API call trace to console.

Either add opencl-detour.cpp to your project or use create a separate shared library using CMakeLists.txt in this project.

Also make sure to specify original OpenCL shared library location in your system using #define OPENCL_TRACE_LIBRARY in opencl-detour.cpp.

The opencl-detour.cpp was generated using OpenCL 1.2 header file opencl12/CL/cl.h with additional support of clCreateCommandQueueWithProperties API.

Want to contribute?

Feel free to submit issues and/or pull requests for contributions.

About

OpenCL API Detour

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published