-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Problem Description
While looking at HIP-Basic\CMakeLists.txt
I noticed the following lookup code for the LLVM binaries:
find_program(
LLVM_DIS_COMMAND
llvm-dis
PATH_SUFFIXES bin
PATHS ${ROCM_ROOT}/llvm ${CMAKE_INSTALL_PREFIX}/llvm
NO_DEFAULT_PATH
)
The issue here is that on Windows, ROCM_ROOT
(which is set to the environment variable HIP_PATH
which in turn is set by the HIP SDK installer) does not contain a llvm
directory. Although the LLVM binaries are present, CMake won't find them and therefore disable the example on Windows.
Operating System
Windows 11
CPU
AMD Ryzen 7 PRO 8840U with Radeon 780M Graphics
GPU
AMD Radeon 780M
ROCm Version
ROCm 6.2 and ROCm 6.4
ROCm Component
No response
Steps to Reproduce
- Install the official HIP SDK for Windows or use an AMD-internal version.
- Observe that the installed HIP SDK version will not contain a
llvm
directory. - Configure the project with CMake and note the disabled examples.
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels