I could not figure a way to have the demo manage colored images (RGB).
I tried with 3 slices, each one for one color channel, or with 1 pitched array with a RGB arrangement (the width is at least 3 times bigger), without success.
cudaChannelFormatDesc channelDesc = cudaCreateChannelDesc<float3>(); won't work, nor with float4.
What should be the modifications ?
I could not figure a way to have the demo manage colored images (RGB).
I tried with 3 slices, each one for one color channel, or with 1 pitched array with a RGB arrangement (the width is at least 3 times bigger), without success.
cudaChannelFormatDesc channelDesc = cudaCreateChannelDesc<float3>();won't work, nor withfloat4.What should be the modifications ?