Enum rcudnn_sys::cudaResourceViewFormat [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaResourceViewFormat {
Show 35 variants
cudaResViewFormatNone,
cudaResViewFormatUnsignedChar1,
cudaResViewFormatUnsignedChar2,
cudaResViewFormatUnsignedChar4,
cudaResViewFormatSignedChar1,
cudaResViewFormatSignedChar2,
cudaResViewFormatSignedChar4,
cudaResViewFormatUnsignedShort1,
cudaResViewFormatUnsignedShort2,
cudaResViewFormatUnsignedShort4,
cudaResViewFormatSignedShort1,
cudaResViewFormatSignedShort2,
cudaResViewFormatSignedShort4,
cudaResViewFormatUnsignedInt1,
cudaResViewFormatUnsignedInt2,
cudaResViewFormatUnsignedInt4,
cudaResViewFormatSignedInt1,
cudaResViewFormatSignedInt2,
cudaResViewFormatSignedInt4,
cudaResViewFormatHalf1,
cudaResViewFormatHalf2,
cudaResViewFormatHalf4,
cudaResViewFormatFloat1,
cudaResViewFormatFloat2,
cudaResViewFormatFloat4,
cudaResViewFormatUnsignedBlockCompressed1,
cudaResViewFormatUnsignedBlockCompressed2,
cudaResViewFormatUnsignedBlockCompressed3,
cudaResViewFormatUnsignedBlockCompressed4,
cudaResViewFormatSignedBlockCompressed4,
cudaResViewFormatUnsignedBlockCompressed5,
cudaResViewFormatSignedBlockCompressed5,
cudaResViewFormatUnsignedBlockCompressed6H,
cudaResViewFormatSignedBlockCompressed6H,
cudaResViewFormatUnsignedBlockCompressed7,
}
Expand description
CUDA texture resource view formats
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
cudaResViewFormatNone
< No resource view format (use underlying resource format)
cudaResViewFormatUnsignedChar1
< 1 channel unsigned 8-bit integers
cudaResViewFormatUnsignedChar2
< 2 channel unsigned 8-bit integers
cudaResViewFormatUnsignedChar4
< 4 channel unsigned 8-bit integers
cudaResViewFormatSignedChar1
< 1 channel signed 8-bit integers
cudaResViewFormatSignedChar2
< 2 channel signed 8-bit integers
cudaResViewFormatSignedChar4
< 4 channel signed 8-bit integers
cudaResViewFormatUnsignedShort1
< 1 channel unsigned 16-bit integers
cudaResViewFormatUnsignedShort2
< 2 channel unsigned 16-bit integers
cudaResViewFormatUnsignedShort4
< 4 channel unsigned 16-bit integers
cudaResViewFormatSignedShort1
< 1 channel signed 16-bit integers
cudaResViewFormatSignedShort2
< 2 channel signed 16-bit integers
cudaResViewFormatSignedShort4
< 4 channel signed 16-bit integers
cudaResViewFormatUnsignedInt1
< 1 channel unsigned 32-bit integers
cudaResViewFormatUnsignedInt2
< 2 channel unsigned 32-bit integers
cudaResViewFormatUnsignedInt4
< 4 channel unsigned 32-bit integers
cudaResViewFormatSignedInt1
< 1 channel signed 32-bit integers
cudaResViewFormatSignedInt2
< 2 channel signed 32-bit integers
cudaResViewFormatSignedInt4
< 4 channel signed 32-bit integers
cudaResViewFormatHalf1
< 1 channel 16-bit floating point
cudaResViewFormatHalf2
< 2 channel 16-bit floating point
cudaResViewFormatHalf4
< 4 channel 16-bit floating point
cudaResViewFormatFloat1
< 1 channel 32-bit floating point
cudaResViewFormatFloat2
< 2 channel 32-bit floating point
cudaResViewFormatFloat4
< 4 channel 32-bit floating point
cudaResViewFormatUnsignedBlockCompressed1
< Block compressed 1
cudaResViewFormatUnsignedBlockCompressed2
< Block compressed 2
cudaResViewFormatUnsignedBlockCompressed3
< Block compressed 3
cudaResViewFormatUnsignedBlockCompressed4
< Block compressed 4 unsigned
cudaResViewFormatSignedBlockCompressed4
< Block compressed 4 signed
cudaResViewFormatUnsignedBlockCompressed5
< Block compressed 5 unsigned
cudaResViewFormatSignedBlockCompressed5
< Block compressed 5 signed
cudaResViewFormatUnsignedBlockCompressed6H
< Block compressed 6 unsigned half-float
cudaResViewFormatSignedBlockCompressed6H
< Block compressed 6 signed half-float
cudaResViewFormatUnsignedBlockCompressed7
< Block compressed 7
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaResourceViewFormat
impl Send for cudaResourceViewFormat
impl Sync for cudaResourceViewFormat
impl Unpin for cudaResourceViewFormat
impl UnwindSafe for cudaResourceViewFormat
Blanket Implementations
Mutably borrows from an owned value. Read more