diff --git a/src/Accelerator/DeviceInterfaceCudaHip.hpp b/src/Accelerator/DeviceInterfaceCudaHip.hpp index 502cd77e..540da9e5 100644 --- a/src/Accelerator/DeviceInterfaceCudaHip.hpp +++ b/src/Accelerator/DeviceInterfaceCudaHip.hpp @@ -88,7 +88,7 @@ inline deviceError_t deviceFree (void* devPtr) {return hipFree(devPtr);} inline deviceError_t deviceFreeHost (void* devPtr) - { return hipHostFree(defPtr); } + { return hipHostFree(devPtr); } // {return hipFreeHost(devPtr); } // /* {return hipHostFree(devPtr); /* hipFreeHost(devPtr); } */