12.07.2015 Views

NVIDIA CUDA

NVIDIA CUDA

NVIDIA CUDA

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

26 Module DocumentationNote:See also:Note that this function may also return error codes from previous, asynchronous launches.cudaMalloc, cudaMallocPitch, cudaMallocArray, cudaFreeArray, cudaMallocHost, cudaFreeHost, cudaMalloc3D,cudaMalloc3DArray, cudaHostAlloc3.8.2.2 cudaError_t cudaFreeArray (struct cudaArray ∗ array)Frees the <strong>CUDA</strong> array array, which must have been ∗ returned by a previous call to cudaMallocArray(). If cudaFreeArray(array)has already been called before, cudaErrorInvalidValue is returned. If devPtr is 0, no operationis performed.Parameters:array - Pointer to array to freeReturns:cudaSuccess, cudaErrorInvalidValue, cudaErrorInitializationErrorNote:Note that this function may also return error codes from previous, asynchronous launches.See also:cudaMalloc, cudaMallocPitch, cudaFree, cudaMallocArray, cudaMallocHost, cudaFreeHost, cudaHostAlloc3.8.2.3 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 freeReturns:Note:See also:cudaSuccess, cudaErrorInitializationErrorNote that this function may also return error codes from previous, asynchronous launches.cudaMalloc, cudaMallocPitch, cudaFree, cudaMallocArray, cudaFreeArray, cudaMallocHost, cudaMalloc3D, cudaMalloc3DArray,cudaHostAllocGenerated on Wed Apr 1 16:11:42 2009 for <strong>NVIDIA</strong> <strong>CUDA</strong> Library by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!