cudaError_t cudaFreeHost ( void *  ptr  ) 

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

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


Generated by Doxygen on Mon Mar 30 23:16:11 2009 for NVIDIA CUDA Library  NVIDIA