Fix/RO Backend Hang Issue (#53)

* Update HIP version check for compatibility with versions >= 5.5

* Update memory allocator for context BlockHandle
   - Replaced `HIPAllocator` with `HIPDefaultFinegrainedAllocator` for context `BlockHandle`.

* Update run commands for `rocshmem_g` and `rocshmem_p` functional tests

[ROCm/rocshmem commit: c16b0d6952]
This commit is contained in:
Avinash Kethineedi
2025-03-24 22:54:07 -05:00
committed by GitHub
parent 1ee9b72449
commit baca5fd7a1
3 changed files with 12 additions and 15 deletions
@@ -37,7 +37,8 @@
#include "memory_allocator.hpp"
// `hipDeviceMallocUncached` was introduced at ROCm 5.5
#if HIP_VERSION_MAJOR >= 5 && HIP_VERSION_MINOR >= 5
#if (HIP_VERSION_MAJOR > 5) || \
(HIP_VERSION_MAJOR == 5 && HIP_VERSION_MINOR >= 5)
#define HIP_SUPPORTS_MALLOC_UNCACHED
#endif
namespace rocshmem {