managed_allocator
managed_allocator copied to clipboard
A C++ allocator based on cudaMallocManaged
Your work does not declare a license. If I wanted to use it, what are the terms?
This is pretty awesome, as-is. Thank you so much for this class. However, I wonder if it would be possible to update this to use cudaMalloc() OR cudaMallocManaged(). Also, in...
Std containers call deallocate from their allocator during their destructor. A conforming implementation must call std::terminate if a destructor would exit by throwing a new exception. So one cannot handle...