You are not logged in.
Hello,
Running Pytorch on an AMD GPU I got this error:
MIOpen(HIP): Error [Compile] 'hiprtcCompileProgram(prog.get(), c_options.size(), c_options.data())' gridwise_generic_reduction_first_call_threadwise_reduce_partial_dims.cpp: HIPRTC_ERROR_COMPILATION (6)
MIOpen(HIP): Error [BuildHip] HIPRTC status = HIPRTC_ERROR_COMPILATION (6), source file: gridwise_generic_reduction_first_call_threadwise_reduce_partial_dims.cpp
MIOpen(HIP): Warning [BuildHip] In file included from /tmp/comgr-366-18-2bc1f8/input/gridwise_generic_reduction_first_call_threadwise_reduce_partial_dims.cpp:26:
/tmp/comgr-366-18-2bc1f8/include/config.hpp:25:2: error: No CK_AMD_GPU_GFX* macro defined. Exactly one target must be defined.
25 | #error No CK_AMD_GPU_GFX* macro defined. Exactly one target must be defined.
| ^
1 error generated when compiling for gfx1103.gfx1103 is my GPU architecture. I didn't see an obvious place to add the CK_AMD_GPU_GFX* define in the AMD documentation, so I thought I may be missing a driver.
Looking at the miopen-hip package (file list) I have installed (7.2.1-1), I don't see any file related to that architecture.
I also see there is a shell utility, install_precompiled_kernels.sh, but running that gives me
which: no rocminfo in (/usr/local/sbin:/usr/local/bin:/usr/bin)
using rocminfo at /opt/rocm/bin/rocminfo
Unknown distribution
Please install the miopen-hip-gfx1103kdb package using an appropriate package managerI don't see that package in the main repos or in the AUR. Does Arch plan to bundle that driver with miopen-hip? Is compiling from source the only option for now? Or am I looking in the wrong place?
Thanks,
Last edited by gattu_marrudu (2026-04-08 01:54:08)
Offline
Could you try again with miopen 7.2.1-2?
Offline
Same result. The updated file list is still not showing any gfx1103-related files.
Could it be that the ROCm developers haven't caught up with the latest architectures? I did buy this GPU 6 months ago...
Offline
Yes that could be, did you already check the upstream repository for what it claims to be compatible for? In the recent change I added all known rocm arches except the ones that did not build: https://gitlab.archlinux.org/archlinux/ … effd6707d8
Offline
Hm, the compatibility matrix doesn't show my architecture (gfx1103) but, the rocm-supported-gfx command on my machine shows
gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942;gfx950;gfx1010;gfx1012;gfx1030;gfx1031;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201which is a different list, and includes my GPU.
Offline