thirdparty/cuda/api/memory.hpp
inline void free(void* host_ptr)
{
	auto result = cudaFreeHost(host_ptr);
	cuda::throw_if_error(result, "Freeing pinned host memory at 0x" + cuda::detail::ptr_as_hex(host_ptr));
}
/**
 * Free a region of pinned host memory which was allocated with @ref allocate.
 */
Free a region of pinned host memory which was allocated with @ref allocate.
Free a region of pinned host memory which was allocated with @ref allocate .
inline void free(void* host_ptr)
{
	auto result = cudaFreeHost(host_ptr);
	cuda::throw_if_error(result, "Freeing pinned host memory at 0x" + cuda::detail::ptr_as_hex(host_ptr));
}
inline void free ( void * host_ptr ) { auto result = cudaFreeHost ( host_ptr ) ; cuda :: throw_if_error ( result , " " + cuda :: detail :: ptr_as_hex ( host_ptr ) ) ; }
Free a region of pinned host memory which was allocated with @ref allocate.
Free a region of pinned host memory which was allocated with @ref allocate .