cudaError_t cudaFreeHost ( void *  ptr  ) 

Frees the memory space pointed to by hostPtr, which must have been returned by a previous call to cudaMallocHost() or cudaHostAlloc().

ptr - Pointer to memory to free
cudaSuccess, cudaErrorInitializationError
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaMalloc, cudaMallocPitch, cudaFree, cudaMallocArray, cudaFreeArray, cudaMallocHost (C API), cudaMalloc3D, cudaMalloc3DArray, cudaHostAlloc

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA