cudaCreateChannelDesc & 3 component types

I’m using the beta 2.1 and took a look at at the channel descriptor header file (channel_descriptor.h). I found that the high level version of cudaCreateChannelDesc() does not have a template for float3, int3, short3, etc. Why is this?

because there is no support for them in the texture units. use the float4 variants.

Ah I see. After your reply I checked the docs and found that it is the case with cuda arrays. Thanks!