![]() Spack installs the hsa-rocr-dev and rocprofiler packages into different directories. However, PAPI typically expects those to be under the same directory and locates such directory through the PAPI_ROCM_ROOT env variable. The PAPI rocm component also allows users to override PAPI_ROCM_ROOT to locate directly the librocprofiler64.so through the HSA_TOOLS_LIB env variable that acts directly onto the HSA runtime tools mechanism. Hence, in order to account for the decoupling of hsa and rocprofiler, this patch sets HSA_TOOLS_LIB to librocprofiler64.so full path. |
||
---|---|---|
.. | ||
spack |