thirdparty/cuda/api/memory.hpp
inline void free(void* managed_ptr)
{
	auto result = cudaFree(managed_ptr);
	cuda::throw_if_error(result,
		"Freeing managed memory (host and device regions) at address 0x"
		+ cuda::detail::ptr_as_hex(managed_ptr));
}
/**
 * Free a managed memory region (host-side and device-side regions on all devices
 * where it was allocated, all with the same address) which was allocated with
 * @ref allocate.
 */
Free a managed memory region (host-side and device-side regions on all devices
where it was allocated, all with the same address) which was allocated with
@ref allocate.
Free a managed memory region ( host - side and device - side regions on all devices where it was allocated all with the same address ) which was allocated with @ref allocate .
inline void free(void* managed_ptr)
{
	auto result = cudaFree(managed_ptr);
	cuda::throw_if_error(result,
		"Freeing managed memory (host and device regions) at address 0x"
		+ cuda::detail::ptr_as_hex(managed_ptr));
}
inline void free ( void * managed_ptr ) { auto result = cudaFree ( managed_ptr ) ; cuda :: throw_if_error ( result , " " + cuda :: detail :: ptr_as_hex ( managed_ptr ) ) ; }
Free a managed memory region (host-side and device-side regions on all devices
 where it was allocated, all with the same address) which was allocated with
 @ref allocate.
Free a managed memory region ( host - side and device - side regions on all devices where it was allocated all with the same address ) which was allocated with @ref allocate .