docs/src/hip_sdk.md
On Windows, in addition to installing the GPU driver, you need to install the HIP SDK. Choose one of the two options below:
<table width="100%"> <tr > <th> Official HIP SDK </th> <th> Unofficial HIP SDK builds </th> </tr> <tr/> <tr> <td style="width: 50%;border:none;vertical-align: top">✅ Automatic installation
✅ Stable and supported by AMD
❌ Older code
❌ No Machine Learning support (PyTorch and TensorFlow will not work)
❌ Manual installation
❌ Unstable and unsupported by AMD
✅ Newer code
✅ Machine Learning support (required for PyTorch, TensorFlow, etc.)
therock-dist-windows-gfx<GPUARCH>...tar.gz file:
<GPUARCH>, check the TechPowerUp GPU database. Example: for AMD Radeon RX 9070, the <GPUARCH> (Shader ISA) is 1201tar.gz file, unpack it and run the included hipInfo.exe to determine your <GPUARCH> (gcnArchName).tar.gz file to a directory of your choice (you can use 7-Zip)
.tar.gz, then the .tar file)HIP_PATH environment variable to the extracted directory path (instructions here)
bin subdirectorybin directory must contain various .dll files, including rocblas.dllZLUDA includes a small CUDA application that tests the loading and initialization of all performance libraries. Run it using:
zluda.exe -- cuda_check.exe
The output should look like this:
nvcuda : OK (C:\hip_sdk\bin\amdhip64_7.dll)
nvml : OK
cufft11 : OK
cudnn9 : OK (C:\hip_sdk\bin\MIOpen.dll)
cudnn8 : OK (C:\hip_sdk\bin\MIOpen.dll)
cublaslt13: OK (C:\hip_sdk\bin\libhipblaslt.dll)
cusparse12: OK
cufft12 : OK
cublas13 : OK (C:\hip_sdk\bin\rocblas.dll)
cublaslt12: OK (C:\hip_sdk\bin\libhipblaslt.dll)
cublas12 : OK (C:\hip_sdk\bin\rocblas.dll)
cusparse11: OK
The path in parentheses is the path to the underlying HIP SDK library.
Caveats and Known Issues:
cuda_check.exe may sometimes hang and not close due to a bug in MIOpencuda_check.exe will fail to load cudnn8 and cudnn9 because the official SDK does not include MIOpen