cudaFreeArray: Frees an array on the device

Description Usage Arguments References See Also

Description

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.

Usage

1

Arguments

array

Pointer to array to free

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cudaMalloc cudaMallocPitch cudaFree cudaMallocArray cudaMallocHost cudaFreeHost cudaHostAlloc


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.