Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

OpenCL resource allocation tracker

An LD_PRELOAD library that intercepts calls to libOpenCL.so and tracks references to OpenCL resources during the run-time of an application. It prints out allocation information at the end of the execution of the application as well as when receiving signals such as SIGUSR1.

Most of the code is a direct translation of the gobject-list library.

Build and usage

Install development files for glib-2.0 and libunwind if you want to see backtraces in case of problems. Run

make

or

meson build && cd build && ninja

to build the library and

LD_PRELOAD=libocl-stat.so /path/to/application

to examine the lifetime of OpenCL resources.

About

OpenCL resource tracker

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.