lib/cuda-api-wrappers/api/memory.hpp
/**
 * Free a pair of mapped memory regions allocated with @ref allocate.
 */
Free a pair of mapped memory regions allocated with @ref allocate.
Free a pair of mapped memory regions allocated with @ref allocate .
inline void free(region_pair pair)
{
	auto result = cudaFreeHost(pair.host_side);
	cuda::throw_if_error(result, "Could not free mapped memory region pair.");
}
inline void free ( region_pair pair ) { auto result = cudaFreeHost ( pair . host_side ) ; cuda :: throw_if_error ( result , " " ) ; }
Free a pair of mapped memory regions allocated with @ref allocate.
Free a pair of mapped memory regions allocated with @ref allocate .