Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

comgr_lookup_code_object_test failed: HIP is not supported on gfx701 with wavefront size 64 #60

Closed
littlewu2508 opened this issue Jul 29, 2023 · 1 comment

Comments

@littlewu2508
Copy link

Testing comgr version rocm-5.6.0 failed one test:

26/32 Testing: comgr_lookup_code_object_test
26/32 Test: comgr_lookup_code_object_test
Command: "/ext4-disk/build/portage/dev-libs/rocm-comgr-5.6.0/work/ROCm-CompilerSupport-rocm-5.6.0/lib/comgr_build/test/lookup_code_object_test"
Directory: /ext4-disk/build/portage/dev-libs/rocm-comgr-5.6.0/work/ROCm-CompilerSupport-rocm-5.6.0/lib/comgr_build/test
"comgr_lookup_code_object_test" start time: Jul 29 10:42 CST
Output:
----------------------------------------------------------
In file included from /ext4-disk/build/portage/dev-libs/rocm-comgr-5.6.0/temp/comgr-881a28/input/source1.hip:35:
/opt/gentoo/usr/include/hip/hip_runtime.h:41:2: error: HIP is not supported on the specified GPU ARCH with wavefront size 64
#error HIP is not supported on the specified GPU ARCH with wavefront size 64
 ^
1 error generated when compiling for gfx701.
FAILED: amd_comgr_do_action
 REASON: ERROR
<end of output>

Removing the gfx701 and gfx702 offload arch compile option in https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/blob/1fe43c716e7d6f381795148841a7b0f681f0c8b8/lib/comgr/test/lookup_code_object_test.c#L67 can avoid the error

@lamb-j
Copy link
Collaborator

lamb-j commented Feb 16, 2024

Looks like you're running with HIP_COMPILER/optional hip tests enabled (source1.hip).

For now, I'd recommend testing with these tests disabled; we're planning on relocating and restructuring them soon, with the aim of removing HIP dependencies from the Comgr tests to avoid issues like this one.

@lamb-j lamb-j closed this as completed Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants