cudaError_t cudaFreeArray ( struct cudaArray *  array  ) 

Frees the CUDA 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 operation is performed.

Parameters:
array - Pointer to array to free
Returns:
cudaSuccess, cudaErrorInvalidValue, cudaErrorInitializationError
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaMalloc, cudaMallocPitch, cudaFree, cudaMallocArray, cudaMallocHost (C API), cudaFreeHost, cudaHostAlloc


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA