Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

opencl-intercept-layer

> 数据库
Open source

Intercept Layer for Debugging and Analyzing OpenCL Applications

366 stars0 likes1 views
WebsiteGitHub

About

Intercept Layer for Debugging and Analyzing OpenCL Applications

Intercept Layer for OpenCLTM Applications

GitHub Actions:

The Intercept Layer for OpenCL Applications is a tool that can intercept and modify OpenCL calls for debugging and performance analysis. Using the Intercept Layer for OpenCL Applications requires no application or driver modifications.

To operate, the Intercept Layer for OpenCL Applications masquerades as the OpenCL ICD loader (usually) or as an OpenCL implementation (rarely) and is loaded when the application intends to load the real OpenCL ICD loader. As part of the Intercept Layer for OpenCL Application's initialization, it loads the real OpenCL ICD loader and gets function pointers to the real OpenCL entry points. Then, whenever the application makes an OpenCL call, the call is intercepted and can be passed through to the real OpenCL with or without changes.

This project adheres to the Intercept Layer for OpenCL Application's code of conduct. By participating, you are expected to uphold this code.

Documentation

All controls are documented here.

Instructions to build the Intercept Layer for OpenCL Applications can be found here.

Instructions to use the Intercept Layer for OpenCL Applications Loader (cliloader) can be found here.

Instructions for the old loader (cliprof) can still be found here.

Instructions to install the Intercept Layer for OpenCL Applications can be found here.

Troubleshooting steps and answers to frequently asked questions can be found here.

Detailed instructions:

  • How to Inject Modified Programs
  • How to Inject Buffers and Images
  • How to Dump and Disassemble Kernel ISA
  • How to Capture AUB Files
  • How to Collect MDAPI Performance Metrics
  • How to Use the Intercept Layer for OpenCL Applications with VTune
  • How to Use the Intercept Layer for OpenCL Applications with Chrome
  • How to Capture and Replay Single Kernels

Tutorial

A tutorial demonstrating common usages of the Intercept Layer for OpenCL Applications can be found here.

License

The Intercept Layer for OpenCL Applications is licensed under the MIT License.

Notes:

  • These files are partially generated and hence do not include license file headers, however they are also licensed under the MIT License:
    • resource/clIntercept.rc
    • resource/clIntercept_resource.h
    • config/CLIConfig.rc
    • config/resource.h

Attached Licenses

The Intercept Layer for OpenCL Applications uses third-party code licensed under the following licenses:

  • These files are licensed under the Khronos(tm) License:
    • CL/cl.h
    • CL/cl_gl.h
    • CL/cl_platform.h
    • GL/glcorearb.h
  • These files are licensed under the Boost Software License - Version 1.0:
    • cmake_modules/GetGitRevisionDescription.cmake
    • cmake_modules/GetGitRevisionDescription.cmake.in

Support

Please file a GitHub issue to report an issue or ask questions. Private or sensitive issues may be submitted via email to this project's maintainer (Ben Ashbaugh - ben 'dot' ashbaugh 'at' intel 'dot' com), or to any other Intel GitHub maintainer (see profile for email address).

How to Contribute

Contributions to the Intercept Layer for OpenCL Applications are welcomed and encouraged. Please see CONTRIBUTING for details how to contribute to the project.


OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.

* Other names and brands may be claimed as the property of others.

Copyright (c) 2018-2026, Intel(R) Corporation

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++computedebugginggpgpuopencl

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库