Hi I was wondering if there is an easy way to copy device memory directly into texture memory?
So I have an image I am working on via cuda kernels to preform different operations. Currently the output is being placed into an array in the following format:
__device__ ushort *image;
So is there anyway that I can easily transfer it to a texture memory, which I have in the following format:
texture<ushort, 2, cudaReadModeElementType> texImage; cudaChannelFormatDesc descTexImage = cudaCreateChannelDesc<ushort>();
Any assistance or direction would be greatly appreciated