Merge remote-tracking branch 'origin/feature/tomstitt/temp-mem-type' into feature/apps/dev

This commit is contained in:
Tom Stitt
2020-07-20 16:17:23 -07:00
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -501,10 +501,8 @@ public:
}
void Alloc(void **ptr, size_t bytes) { *ptr = h_allocator.allocate(bytes); }
void Dealloc(void *ptr) { h_allocator.deallocate(ptr); }
void Insert(void *ptr, size_t bytes)
//{ rm.registerAllocation(ptr, {ptr, bytes, strat}); }
{ mfem_error("UmpireHostMemorySpace::Insert is unsupported"); exit(1); }
{ mfem_error("UmpireHostMemorySpace::Insert is unsupported"); }
};
/// The Umpire device memory space
+1 -1
View File
@@ -640,7 +640,7 @@ public:
/// Get the host and device Umpire allocator ids
static int GetUmpireHostAllocatorId() { return h_umpire_id; }
static int GetUmpireDeviceAllocatorId() { return d_umpire_id; }
static int GetUmpireDeviceTempAllocatorId() { return d_umpire_id; }
static int GetUmpireDeviceTempAllocatorId() { return d_umpire_temp_id; }
#endif
/// Free all the device memories