|  | 
Frees the memory space pointed to by hostPtr, which must have been returned by a previous call to cudaMallocHost() or cudaHostAlloc(). 
 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 (C API), cudaMalloc3D, cudaMalloc3DArray, cudaHostAlloc 
 
     |