Defined in File cuda.cuh
inline cudaError_t flamegpu::detail::cuda::cudaFreeHost(void *devPtr)
Wrapped cudaFreeHost which checks that the pointer is a valid page-locked pointer prior to freeing. This also prevents double free errors from being raised, as the pointer attributes in that case are the same as a reset device, would need to check the primary context too?
devPtr – pointer to memory to free
forward the cuda error status from the inner cudaFreeHost call