/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/driver_types.h Source File#
driver_types.h
Go to the documentation of this file.
138typedef struct hipMipmappedArray {
const struct hipMipmappedArray * hipMipmappedArray_const_t
Definition driver_types.h:156
@ hipChannelFormatKindFloat
Float channel format.
Definition driver_types.h:54
@ hipChannelFormatKindUnsigned
Unsigned channel format.
Definition driver_types.h:53
@ hipChannelFormatKindSigned
Signed channel format.
Definition driver_types.h:52
@ HIP_RESOURCE_TYPE_MIPMAPPED_ARRAY
Mipmapped array resource.
Definition driver_types.h:168
@ HIP_TR_FILTER_MODE_LINEAR
Filter mode linear.
Definition driver_types.h:186
@ hipMemcpyDeviceToDeviceNoCU
Device-to-Device Copy without using compute units.
Definition driver_types.h:383
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC1
Block-compressed 1.
Definition driver_types.h:273
@ HIP_RES_VIEW_FORMAT_UINT_1X8
1 channel, unsigned 8-bit integers
Definition driver_types.h:249
@ HIP_RES_VIEW_FORMAT_FLOAT_4X32
4 channels, 32-bit floating point
Definition driver_types.h:272
@ HIP_RES_VIEW_FORMAT_UINT_1X32
1 channel, unsigned 32-bit integers
Definition driver_types.h:261
@ HIP_RES_VIEW_FORMAT_UINT_1X16
1 channel, unsigned 16-bit integers
Definition driver_types.h:255
@ HIP_RES_VIEW_FORMAT_UINT_2X16
2 channels, unsigned 16-bit integers
Definition driver_types.h:256
@ HIP_RES_VIEW_FORMAT_SINT_2X16
2 channels, signed 16-bit integers
Definition driver_types.h:259
@ HIP_RES_VIEW_FORMAT_SINT_2X8
2 channels, signed 8-bit integers
Definition driver_types.h:253
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC6H
Block-compressed 6 unsigned half-float.
Definition driver_types.h:280
@ HIP_RES_VIEW_FORMAT_SINT_4X16
4 channels, signed 16-bit integers
Definition driver_types.h:260
@ HIP_RES_VIEW_FORMAT_UINT_2X8
2 channels, unsigned 8-bit integers
Definition driver_types.h:250
@ HIP_RES_VIEW_FORMAT_UINT_4X8
4 channels, unsigned 8-bit integers
Definition driver_types.h:251
@ HIP_RES_VIEW_FORMAT_SINT_1X32
1 channel, signed 32-bit integers
Definition driver_types.h:264
@ HIP_RES_VIEW_FORMAT_NONE
No resource view format (use underlying resource format)
Definition driver_types.h:248
@ HIP_RES_VIEW_FORMAT_SINT_2X32
2 channels, signed 32-bit integers
Definition driver_types.h:265
@ HIP_RES_VIEW_FORMAT_SINT_4X8
4 channels, signed 8-bit integers
Definition driver_types.h:254
@ HIP_RES_VIEW_FORMAT_SIGNED_BC4
Block-compressed 4 signed.
Definition driver_types.h:277
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC7
Block-compressed 7.
Definition driver_types.h:282
@ HIP_RES_VIEW_FORMAT_SIGNED_BC6H
Block-compressed 6 signed half-float.
Definition driver_types.h:281
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC4
Block-compressed 4 unsigned.
Definition driver_types.h:276
@ HIP_RES_VIEW_FORMAT_UINT_4X16
4 channels, unsigned 16-bit integers
Definition driver_types.h:257
@ HIP_RES_VIEW_FORMAT_FLOAT_4X16
4 channels, 16-bit floating point
Definition driver_types.h:269
@ HIP_RES_VIEW_FORMAT_SINT_1X8
1 channel, signed 8-bit integers
Definition driver_types.h:252
@ HIP_RES_VIEW_FORMAT_SIGNED_BC5
Block-compressed 5 signed.
Definition driver_types.h:279
@ HIP_RES_VIEW_FORMAT_FLOAT_2X32
2 channels, 32-bit floating point
Definition driver_types.h:271
@ HIP_RES_VIEW_FORMAT_SINT_1X16
1 channel, signed 16-bit integers
Definition driver_types.h:258
@ HIP_RES_VIEW_FORMAT_FLOAT_2X16
2 channels, 16-bit floating point
Definition driver_types.h:268
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC5
Block-compressed 5 unsigned.
Definition driver_types.h:278
@ HIP_RES_VIEW_FORMAT_UINT_4X32
4 channels, unsigned 32-bit integers
Definition driver_types.h:263
@ HIP_RES_VIEW_FORMAT_FLOAT_1X16
1 channel, 16-bit floating point
Definition driver_types.h:267
@ HIP_RES_VIEW_FORMAT_SINT_4X32
4 channels, signed 32-bit integers
Definition driver_types.h:266
@ HIP_RES_VIEW_FORMAT_UINT_2X32
2 channels, unsigned 32-bit integers
Definition driver_types.h:262
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC3
Block-compressed 3.
Definition driver_types.h:275
@ HIP_RES_VIEW_FORMAT_FLOAT_1X32
1 channel, 32-bit floating point
Definition driver_types.h:270
@ HIP_RES_VIEW_FORMAT_UNSIGNED_BC2
Block-compressed 2.
Definition driver_types.h:274
@ HIP_POINTER_ATTRIBUTE_DEVICE_ORDINAL
Definition driver_types.h:529
@ HIP_POINTER_ATTRIBUTE_IS_LEGACY_HIP_IPC_CAPABLE
Definition driver_types.h:531
@ HIP_POINTER_ATTRIBUTE_RANGE_SIZE
Size of the address range for this requested pointer.
Definition driver_types.h:535
@ HIP_POINTER_ATTRIBUTE_DEVICE_POINTER
address at which the pointer is allocated on the device
Definition driver_types.h:521
@ HIP_POINTER_ATTRIBUTE_BUFFER_ID
Unique ID for an allocated memory region.
Definition driver_types.h:527
@ HIP_POINTER_ATTRIBUTE_MEMPOOL_HANDLE
Definition driver_types.h:545
@ HIP_POINTER_ATTRIBUTE_HOST_POINTER
address at which the pointer is allocated on the host
Definition driver_types.h:522
@ HIP_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE
Definition driver_types.h:540
@ HIP_POINTER_ATTRIBUTE_IS_MANAGED
Indicates if the pointer points to managed memory.
Definition driver_types.h:528
@ HIP_POINTER_ATTRIBUTE_MEMORY_TYPE
memory type describing the location of a pointer
Definition driver_types.h:520
@ HIP_POINTER_ATTRIBUTE_RANGE_START_ADDR
Starting address for this requested pointer.
Definition driver_types.h:534
@ HIP_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES
for this allocation
Definition driver_types.h:538
@ HIP_FUNC_ATTRIBUTE_BINARY_VERSION
Binary version.
Definition driver_types.h:510
@ HIP_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
The maximum number of threads per block. Depends on function and device.
Definition driver_types.h:504
@ HIP_FUNC_ATTRIBUTE_CACHE_MODE_CA
Cache mode.
Definition driver_types.h:511
@ HIP_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
The shared memory carveout preference in percent of the maximum shared memory.
Definition driver_types.h:513
@ HIP_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
The local memory usage of each thread by this function in bytes.
Definition driver_types.h:507
@ HIP_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
The statically allocated shared memory size in bytes per block required by the function.
Definition driver_types.h:505
@ HIP_FUNC_ATTRIBUTE_NUM_REGS
The number of registers used by each thread of this function.
Definition driver_types.h:508
@ HIP_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
The user-allocated constant memory by the function in bytes.
Definition driver_types.h:506
@ HIP_FUNC_ATTRIBUTE_PTX_VERSION
PTX version.
Definition driver_types.h:509
@ HIP_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
The maximum dynamic shared memory per block for this function in bytes.
Definition driver_types.h:512
@ hipResViewFormatSignedInt2
2 channels, signed 32-bit integers
Definition driver_types.h:224
@ hipResViewFormatSignedChar4
4 channels, signed 8-bit integers
Definition driver_types.h:213
@ hipResViewFormatFloat1
1 channel, 32-bit floating point
Definition driver_types.h:229
@ hipResViewFormatUnsignedBlockCompressed5
Block-compressed 5 unsigned.
Definition driver_types.h:237
@ hipResViewFormatNone
No resource view format (use underlying resource format)
Definition driver_types.h:207
@ hipResViewFormatUnsignedChar2
2 channels, unsigned 8-bit integers
Definition driver_types.h:209
@ hipResViewFormatSignedShort4
4 channels, signed 16-bit integers
Definition driver_types.h:219
@ hipResViewFormatUnsignedBlockCompressed4
Block-compressed 4 unsigned.
Definition driver_types.h:235
@ hipResViewFormatSignedInt4
4 channels, signed 32-bit integers
Definition driver_types.h:225
@ hipResViewFormatUnsignedInt2
2 channels, unsigned 32-bit integers
Definition driver_types.h:221
@ hipResViewFormatSignedShort2
2 channels, signed 16-bit integers
Definition driver_types.h:218
@ hipResViewFormatHalf4
4 channels, 16-bit floating point
Definition driver_types.h:228
@ hipResViewFormatFloat4
4 channels, 32-bit floating point
Definition driver_types.h:231
@ hipResViewFormatUnsignedBlockCompressed1
Block-compressed 1.
Definition driver_types.h:232
@ hipResViewFormatUnsignedInt1
1 channel, unsigned 32-bit integers
Definition driver_types.h:220
@ hipResViewFormatUnsignedChar4
4 channels, unsigned 8-bit integers
Definition driver_types.h:210
@ hipResViewFormatUnsignedInt4
4 channels, unsigned 32-bit integers
Definition driver_types.h:222
@ hipResViewFormatSignedBlockCompressed6H
Block-compressed 6 signed half-float.
Definition driver_types.h:240
@ hipResViewFormatUnsignedBlockCompressed2
Block-compressed 2.
Definition driver_types.h:233
@ hipResViewFormatHalf2
2 channels, 16-bit floating point
Definition driver_types.h:227
@ hipResViewFormatUnsignedShort1
1 channel, unsigned 16-bit integers
Definition driver_types.h:214
@ hipResViewFormatSignedBlockCompressed5
Block-compressed 5 signed.
Definition driver_types.h:238
@ hipResViewFormatSignedBlockCompressed4
Block-compressed 4 signed.
Definition driver_types.h:236
@ hipResViewFormatHalf1
1 channel, 16-bit floating point
Definition driver_types.h:226
@ hipResViewFormatSignedChar2
2 channels, signed 8-bit integers
Definition driver_types.h:212
@ hipResViewFormatFloat2
2 channels, 32-bit floating point
Definition driver_types.h:230
@ hipResViewFormatUnsignedBlockCompressed3
Block-compressed 3.
Definition driver_types.h:234
@ hipResViewFormatUnsignedChar1
1 channel, unsigned 8-bit integers
Definition driver_types.h:208
@ hipResViewFormatSignedChar1
1 channel, signed 8-bit integers
Definition driver_types.h:211
@ hipResViewFormatUnsignedBlockCompressed6H
Block-compressed 6 unsigned half-float.
Definition driver_types.h:239
@ hipResViewFormatUnsignedBlockCompressed7
Block-compressed 7.
Definition driver_types.h:241
@ hipResViewFormatSignedShort1
1 channel, signed 16-bit integers
Definition driver_types.h:217
@ hipResViewFormatUnsignedShort2
2 channels, unsigned 16-bit integers
Definition driver_types.h:215
@ hipResViewFormatUnsignedShort4
4 channels, unsigned 16-bit integers
Definition driver_types.h:216
@ hipResViewFormatSignedInt1
1 channel, signed 32-bit integers
Definition driver_types.h:223
@ HIP_AD_FORMAT_UNSIGNED_INT16
Unsigned 16-bit array format.
Definition driver_types.h:83
@ HIP_AD_FORMAT_UNSIGNED_INT32
Unsigned 32-bit array format.
Definition driver_types.h:84
@ HIP_AD_FORMAT_UNSIGNED_INT8
Unsigned 8-bit array format.
Definition driver_types.h:82
@ HIP_AD_FORMAT_SIGNED_INT8
Signed 8-bit array format.
Definition driver_types.h:85
@ HIP_AD_FORMAT_SIGNED_INT32
Signed 32-bit array format.
Definition driver_types.h:87
@ HIP_AD_FORMAT_SIGNED_INT16
Signed 16-bit array format.
Definition driver_types.h:86
@ hipResourceTypeMipmappedArray
Mipmapped array resource.
Definition driver_types.h:162
@ HIP_TR_ADDRESS_MODE_BORDER
Border address mode.
Definition driver_types.h:179
@ HIP_TR_ADDRESS_MODE_MIRROR
Mirror address mode.
Definition driver_types.h:178
@ HIP_TR_ADDRESS_MODE_CLAMP
Clamp address mode.
Definition driver_types.h:177
Definition driver_types.h:104
enum hipArray_Format Format
Format of the array.
Definition driver_types.h:108
unsigned int NumChannels
Number of channels of the array.
Definition driver_types.h:109
Definition driver_types.h:94
unsigned int NumChannels
Number of channels of the array.
Definition driver_types.h:98
enum hipArray_Format Format
Format of the array.
Definition driver_types.h:97
Definition driver_types.h:427
size_t WidthInBytes
Width in bytes of 3D memory copy.
Definition driver_types.h:448
hipMemoryType dstMemoryType
Destination memory type.
Definition driver_types.h:442
hipMemoryType srcMemoryType
Source memory type.
Definition driver_types.h:432
Definition driver_types.h:315
size_t pitchInBytes
Pitch between two rows in bytes.
Definition driver_types.h:336
hipMipmappedArray_t hMipmappedArray
HIP mipmapped array.
Definition driver_types.h:322
unsigned int numChannels
Channels per array element.
Definition driver_types.h:327
Definition driver_types.h:361
unsigned int firstMipmapLevel
First defined mipmap level.
Definition driver_types.h:366
unsigned int lastMipmapLevel
Last defined mipmap level.
Definition driver_types.h:367
unsigned int firstLayer
First layer index.
Definition driver_types.h:368
size_t height
Height of the resource view.
Definition driver_types.h:364
HIPresourceViewFormat format
Resource view format.
Definition driver_types.h:362
unsigned int lastLayer
Last layer index.
Definition driver_types.h:369
Definition driver_types.h:191
float maxMipmapLevelClamp
Mipmap maximum level clamp.
Definition driver_types.h:199
float mipmapLevelBias
Mipmap level bias.
Definition driver_types.h:197
float minMipmapLevelClamp
Mipmap minimum level clamp.
Definition driver_types.h:198
unsigned int maxAnisotropy
Maximum anisotropy ratio.
Definition driver_types.h:195
HIPfilter_mode mipmapFilterMode
Mipmap filter mode.
Definition driver_types.h:196
Definition driver_types.h:116
size_t WidthInBytes
Width in bytes of the 2D memory copy.
Definition driver_types.h:131
hipMemoryType dstMemoryType
Destination memory type.
Definition driver_types.h:126
hipMemoryType srcMemoryType
Source memory type.
Definition driver_types.h:119
Definition driver_types.h:60
Definition driver_types.h:397
Definition driver_types.h:414
struct hipPitchedPtr dstPtr
Destination pointer.
Definition driver_types.h:420
struct hipExtent extent
Extent of 3D memory copy.
Definition driver_types.h:421
Definition driver_types.h:138
unsigned int depth
Depth of the mipmapped array.
Definition driver_types.h:144
unsigned int height
Height of the mipmapped array.
Definition driver_types.h:143
unsigned int num_channels
Number of channels of the mipmapped array.
Definition driver_types.h:149
unsigned int flags
Flags of the mipmapped array.
Definition driver_types.h:147
unsigned int max_mipmap_level
Maximum level of the mipmapped array.
Definition driver_types.h:146
enum hipArray_Format format
Format of the mipmapped array.
Definition driver_types.h:148
unsigned int min_mipmap_level
Minimum level of the mipmapped array.
Definition driver_types.h:145
unsigned int width
Width of the mipmapped array.
Definition driver_types.h:142
Definition driver_types.h:388
size_t ysize
Logical size of the second dimension of allocation in elements.
Definition driver_types.h:392
size_t xsize
Logical size of the first dimension of allocation in elements.
Definition driver_types.h:391
Definition driver_types.h:406
Definition driver_types.h:287
struct hipResourceDesc::@0::@4 pitch2D
struct hipResourceDesc::@0::@3 linear
struct hipChannelFormatDesc desc
Channel format description.
Definition driver_types.h:298
size_t pitchInBytes
Pitch between two rows in bytes.
Definition driver_types.h:306
union hipResourceDesc::@0 res
Definition driver_types.h:347
unsigned int firstMipmapLevel
First defined mipmap level.
Definition driver_types.h:352
enum hipResourceViewFormat format
Resource view format.
Definition driver_types.h:348
unsigned int lastMipmapLevel
Last defined mipmap level.
Definition driver_types.h:353
unsigned int firstLayer
First layer index.
Definition driver_types.h:354