Remove CACHED_HEAP option

[ROCm/rocshmem commit: 39c5be18b1]
This commit is contained in:
Brandon Potter
2024-07-15 10:18:20 -05:00
parent c54af3b2e8
commit b0963b2f2c
9 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ void* Connection::buf_alloc([[maybe_unused]] struct ibv_pd* pd,
if (use_gpu_mem) {
void* dev_ptr;
if (coherent_cq == 1) {
#if defined USE_COHERENT_HEAP || defined USE_CACHED_HEAP
#if defined USE_COHERENT_HEAP
CHECK_HIP(hipMalloc(reinterpret_cast<void**>(&dev_ptr), size));
#else
#ifdef HIP_SUPPORTS_MALLOC_UNCACHED