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:
committed by
GitHub
orang tua
b5830a623b
melakukan
a1a0560ca3
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user