Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xe: enable source code information for OpenCL kernels #2339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rjoursler
Copy link
Contributor

As the difficult case for handling nGEN was already handled in #2297, it seems only fitting to enable debug information in the simpler case where we use OpenCL C kernels. This PR limits the scope of support for this to Linux due to the nuances required for handling temporary files. It should be fairly easy to extend with Windows support when it becomes useful.

@rjoursler rjoursler requested review from a team as code owners January 3, 2025 23:33
@github-actions github-actions bot added platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel component:build labels Jan 3, 2025
@rjoursler rjoursler force-pushed the rjoursle/debug_ocl branch 2 times, most recently from 2f603aa to d91f4d4 Compare January 3, 2025 23:56
@rjoursler
Copy link
Contributor Author

make test
disable device_cpu
enable device_gpu

cmake/gen_gpu_kernel_list.cmake Show resolved Hide resolved
src/gpu/intel/compute/kernel.hpp Show resolved Hide resolved
src/gpu/intel/ocl/ocl_gpu_engine.cpp Show resolved Hide resolved
src/gpu/intel/ocl/ocl_gpu_engine.cpp Show resolved Hide resolved
@rjoursler rjoursler force-pushed the rjoursle/debug_ocl branch 4 times, most recently from da403a2 to 983b765 Compare January 10, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:build platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants