pub type CUarrayMapInfo = CUarrayMapInfo_v1;
Expand description

Specifies the CUDA array or CUDA mipmapped array memory mapping information

Aliased Type§

struct CUarrayMapInfo {
    pub resourceType: CUresourcetype_enum,
    pub resource: CUarrayMapInfo_st__bindgen_ty_1,
    pub subresourceType: CUarraySparseSubresourceType_enum,
    pub subresource: CUarrayMapInfo_st__bindgen_ty_2,
    pub memOperationType: CUmemOperationType_enum,
    pub memHandleType: CUmemHandleType_enum,
    pub memHandle: CUarrayMapInfo_st__bindgen_ty_3,
    pub offset: u64,
    pub deviceBitMask: u32,
    pub flags: u32,
    pub reserved: [u32; 2],
}

Fields§

§resourceType: CUresourcetype_enum

< Resource type

§resource: CUarrayMapInfo_st__bindgen_ty_1§subresourceType: CUarraySparseSubresourceType_enum

< Sparse subresource type

§subresource: CUarrayMapInfo_st__bindgen_ty_2§memOperationType: CUmemOperationType_enum

< Memory operation type

§memHandleType: CUmemHandleType_enum

< Memory handle type

§memHandle: CUarrayMapInfo_st__bindgen_ty_3§offset: u64

< Offset within the memory

§deviceBitMask: u32

< Device ordinal bit mask

§flags: u32

< flags for future use, must be zero now.

§reserved: [u32; 2]

< Reserved for future use, must be zero now.