I am using a cudaArray allocated with cudaMalloc3DArray and I would like to call a memset function. The problem is there does not seem to be a function in the API that works with cudaArrays. The closest call I can find is cudaMemset3D, but that takes a pitched pointer as an argument, not a cudaArray.
Is there a way to do this? I would like to accomplish this without calling a kernel to explicitly set the memory.