Commit bf1e5f87 authored by Daniel Krebs's avatar Daniel Krebs
Browse files

gpu: be more verbose when freeing gpu memory

parent 4471d735
......@@ -30,6 +30,9 @@ GpuAllocator::GpuAllocator(Gpu& gpu) :
if(cudaFree(reinterpret_cast<void*>(mem->getOffset())) != cudaSuccess) {
logger->warn("cudaFree() failed for {:#x} of size {:#x}",
mem->getOffset(), mem->getSize());
} else {
logger->debug("cudaFree({:#x}) successfull (size was {:#x})",
mem->getOffset(), mem->getSize());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment