Use finegrain allocator by default (#140)

* Use FineGrained allocator for heap by default, consolidate all types of
allocators under saner cmake controls

Co-authored-by: Yiltan <ytemucin@amd.com>

* Uncached may not be only for debug

Need to include the rocshmem config otherwise produce an inconsistent
build with different allocators used in different files

* Undo this pr adding presumably useless hip_host_allocator_noncoherent

* Rename HEAP_IS_COHERENT/USE_COHERENT_HEAP to USE_HDP_FLUSH as the former
was misleading

* Remove unused __roc_inv()

---------

Co-authored-by: Yiltan <ytemucin@amd.com>
This commit is contained in:
Aurelien BouteillerandYiltan authored and GitHub committed 2025-06-13 15:26:26 -04:00
1 parent bcc14b1a34
commit 41fd9e2d57
13 files changed
+67 -66

No files matched your search

+8 -5
View File
@@ -29,12 +29,15 @@
#cmakedefine USE_THREADS
#cmakedefine USE_SHARED_CTX
#cmakedefine USE_WF_COAL
#cmakedefine USE_COHERENT_HEAP
#cmakedefine USE_MANAGED_HEAP
#cmakedefine USE_HOST_HEAP
#cmakedefine USE_HIP_HOST_HEAP
#cmakedefine USE_HEAP_DEVICE_FINEGRAIN
#cmakedefine USE_HEAP_DEVICE_UNCACHED
#cmakedefine USE_HEAP_DEVICE_COARSEGRAIN
#cmakedefine USE_HEAP_MANAGED
#cmakedefine USE_HEAP_HOST_HIP
#cmakedefine USE_HEAP_HOST
#cmakedefine USE_ALLOC_DLMALLOC
#cmakedefine USE_ALLOC_POW2BINS
#cmakedefine USE_FUNC_CALL
#cmakedefine USE_SINGLE_NODE
#cmakedefine USE_HOST_SIDE_HDP_FLUSH
#cmakedefine USE_HDP_FLUSH
#cmakedefine USE_HDP_FLUSH_HOST_SIDE