diff --git a/include/hip_buffer_util.hpp b/include/hip_buffer_util.hpp index adc846d0..e2364095 100644 --- a/include/hip_buffer_util.hpp +++ b/include/hip_buffer_util.hpp @@ -121,7 +121,7 @@ struct hip_device_buffer { : allocator{device_id}, number_of_elements(number_of_elements) { assert(device_id < max_number_gpus); device_side_buffer = - recycle_allocator_hip_device{}.allocate(number_of_elements); + allocator.allocate(number_of_elements); } ~hip_device_buffer() { allocator.deallocate(device_side_buffer, number_of_elements);