Skip to content

Fix compilation for modern AMD GPUs (ROCm/OpenCL 3.0)#48

Open
fala13 wants to merge 3 commits into1inch:masterfrom
fala13:amd-gpu-fixes
Open

Fix compilation for modern AMD GPUs (ROCm/OpenCL 3.0)#48
fala13 wants to merge 3 commits into1inch:masterfrom
fala13:amd-gpu-fixes

Conversation

@fala13
Copy link

@fala13 fala13 commented Mar 20, 2026

Change Summary

What does this PR change?
Fix compilation for modern AMD GPUs (ROCm/OpenCL 3.0)

  • Added missing cl_device_topology_amd struct definition for AMD device topology
  • Fixed pointer casting issues in OpenCL kernels for type compatibility
  • Now compiles successfully on ROCm-enabled AMD GPUs (Navi 31/48)
  • Maintains full compatibility with original functionality

fala13 added 3 commits March 20, 2026 10:22
- Added missing cl_device_topology_amd struct definition for AMD device topology
- Fixed pointer casting issues in OpenCL kernels for type compatibility
- Now compiles successfully on ROCm-enabled AMD GPUs (Navi 31/48)
- Maintains full compatibility with original functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant