CUDA 纹理对象是否支持 3 通道纹理?
Do CUDA texture object's support 3 channel textures?
旧的 texture references in CUDA only support 1, 2, and 4 channel textures (e.g., I would pad RGB colors to RGBA). Do the new CUDA texture object 支持 3 通道纹理吗?
(我目前无法访问较新的 nVidia 卡来试用它,文档开始让我的眼睛流血寻找答案)。
在适用于纹理引用和纹理对象的 texture memory 的一般描述中,它指出:
The texture object or the texture reference specifies:
...
The type of a texel, which is restricted to the basic integer and single-precision floating-point types and any of the 1-, 2-, and 4-component vector types defined in char
, short
, int
, long
, longlong
, float
, double
that are derived from the basic integer and single-precision floating-point types.
所以,不,不支持 3 分量向量类型,即使是纹理对象也不支持。
旧的 texture references in CUDA only support 1, 2, and 4 channel textures (e.g., I would pad RGB colors to RGBA). Do the new CUDA texture object 支持 3 通道纹理吗?
(我目前无法访问较新的 nVidia 卡来试用它,文档开始让我的眼睛流血寻找答案)。
在适用于纹理引用和纹理对象的 texture memory 的一般描述中,它指出:
The texture object or the texture reference specifies:
...
The type of a texel, which is restricted to the basic integer and single-precision floating-point types and any of the 1-, 2-, and 4-component vector types defined in
char
,short
,int
,long
,longlong
,float
,double
that are derived from the basic integer and single-precision floating-point types.
所以,不,不支持 3 分量向量类型,即使是纹理对象也不支持。