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:
committed by
GitHub
parent
1ee9b72449
commit
baca5fd7a1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user