Remove dev-mono-linear (#81)

* Remove dev_mono_linear (followup to removal of slab_heap)

* cleanup: use CHECK_HIP rather than ad-hoc error checking

---------

Signed-off-by: Aurelien Bouteiller <aurelien.bouteiller@amd.com>
This commit is contained in:
Aurelien Bouteiller
2025-04-15 09:57:59 -04:00
committed by GitHub
orang tua b5830a623b
melakukan a1a0560ca3
3 mengubah file dengan 4 tambahan dan 153 penghapusan
+3 -6
Melihat File
@@ -42,14 +42,11 @@ namespace rocshmem {
}
Backend::Backend(MPI_Comm comm) : heap{comm} {
int num_cus{};
if (hipDeviceGetAttribute(&num_cus, hipDeviceAttributeMultiprocessorCount,
0)) {
abort();
}
CHECK_HIP(hipGetDevice(&hip_dev_id));
int num_cus{};
CHECK_HIP(hipDeviceGetAttribute(&num_cus, hipDeviceAttributeMultiprocessorCount, hip_dev_id));
/*
* Initialize 'print_lock' global and copy to the device memory space.
*/