Definitions of all NvSciBuf Global Constants/Macros.
Macros | |
#define | NV_SCI_BUF_TENSOR_MAX_DIMS 8u |
Maximum number of dimensions supported by NvSciBufType_Tensor. More... | |
#define | NV_SCI_BUF_IMAGE_MAX_PLANES 3u |
Maximum number of planes supported by NvSciBufType_Image. More... | |
#define | NV_SCI_BUF_PYRAMID_MAX_LEVELS 10u |
Maximum number of levels supported by NvSciBufType_Pyramid. More... | |
#define | NVSCIBUF_EXPORT_DESC_SIZE 32u |
Indicates the size of export descriptor. More... | |
#define | NV_SCI_BUF_PEER_INFO_MAX_NUMBER 128u |
Maxium number of peer info supported. More... | |
#define | NV_SCI_BUF_PEER_INFO_SELF_SOCID 0xFFFFFFFFu |
Self SOC ID value if the late peer is from same SoC. More... | |
#define | NV_SCI_BUF_PEER_INFO_SELF_VMID 0xFFFFFFFFu |
Self VM ID value if the late peer is from same VM. More... | |
#define | NV_SCI_BUF_PEER_HW_ENGINE_MAX_NUMBER 128U |
Global Constant to define maximum number of NvSciBufPeerHwEngine supported. More... | |
#define | NV_SCI_BUF_MAX_GPUS 16 |
Maximum number of GPUs that can share the NvSciBufObj. More... | |
#define | NV_SCI_BUF_ATTRKEY_BIT_COUNT 16u |
Global constant to indicate number of bits used for defining an attribute key. More... | |
#define | NV_SCI_BUF_DATATYPE_BIT_COUNT 10u |
Global constant to indicate number of bits used for defining NvSciBufType of an attribute key. More... | |
#define | NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC 0u |
Global constant to indicate the attribute key type is public. More... | |
#define | NV_SCI_BUF_KEYTYPE_BIT_START (NV_SCI_BUF_DATATYPE_BIT_COUNT + NV_SCI_BUF_ATTRKEY_BIT_COUNT) |
Global constant to specify the start-bit of attribute key type. More... | |
#define | NV_SCI_BUF_GENERAL_ATTR_KEY_START |
Indicates starting value of NvSciBufAttrKey for NvSciBufType_General. More... | |
#define | NV_SCI_BUF_RAW_BUF_ATTR_KEY_START |
Indicates starting value of NvSciBufAttrKey for NvSciBufType_RawBuffer. More... | |
#define | NV_SCI_BUF_IMAGE_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Image. More... | |
#define | NV_SCI_BUF_PYRAMID_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Pyramid. More... | |
#define | NV_SCI_BUF_ARRAY_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Array. More... | |
#define | NV_SCI_BUF_TENSOR_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Tensor. More... | |
Variables | |
static const uint32_t | NvSciBufMajorVersion = 2U |
NvSciBuf API Major version number. More... | |
static const uint32_t | NvSciBufMinorVersion = 11U |
NvSciBuf API Minor version number. More... | |
#define NV_SCI_BUF_ARRAY_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Array.
Definition at line 389 of file nvscibuf.h.
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC 0u |
Global constant to indicate the attribute key type is public.
Definition at line 350 of file nvscibuf.h.
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT 16u |
Global constant to indicate number of bits used for defining an attribute key.
Note: Maximum 16K attribute keys per NvSciBufType.
Definition at line 338 of file nvscibuf.h.
#define NV_SCI_BUF_DATATYPE_BIT_COUNT 10u |
Global constant to indicate number of bits used for defining NvSciBufType of an attribute key.
Note: Maximum 1K NvSciBufType(s).
Definition at line 345 of file nvscibuf.h.
#define NV_SCI_BUF_GENERAL_ATTR_KEY_START |
Indicates starting value of NvSciBufAttrKey for NvSciBufType_General.
Definition at line 361 of file nvscibuf.h.
#define NV_SCI_BUF_IMAGE_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Image.
Definition at line 375 of file nvscibuf.h.
#define NV_SCI_BUF_IMAGE_MAX_PLANES 3u |
Maximum number of planes supported by NvSciBufType_Image.
Definition at line 294 of file nvscibuf.h.
#define NV_SCI_BUF_KEYTYPE_BIT_START (NV_SCI_BUF_DATATYPE_BIT_COUNT + NV_SCI_BUF_ATTRKEY_BIT_COUNT) |
Global constant to specify the start-bit of attribute key type.
Definition at line 355 of file nvscibuf.h.
#define NV_SCI_BUF_MAX_GPUS 16 |
Maximum number of GPUs that can share the NvSciBufObj.
Definition at line 331 of file nvscibuf.h.
#define NV_SCI_BUF_PEER_HW_ENGINE_MAX_NUMBER 128U |
Global Constant to define maximum number of NvSciBufPeerHwEngine supported.
Definition at line 325 of file nvscibuf.h.
#define NV_SCI_BUF_PEER_INFO_MAX_NUMBER 128u |
Maxium number of peer info supported.
Definition at line 309 of file nvscibuf.h.
#define NV_SCI_BUF_PEER_INFO_SELF_SOCID 0xFFFFFFFFu |
Self SOC ID value if the late peer is from same SoC.
Definition at line 314 of file nvscibuf.h.
#define NV_SCI_BUF_PEER_INFO_SELF_VMID 0xFFFFFFFFu |
Self VM ID value if the late peer is from same VM.
Definition at line 319 of file nvscibuf.h.
#define NV_SCI_BUF_PYRAMID_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Pyramid.
Definition at line 382 of file nvscibuf.h.
#define NV_SCI_BUF_PYRAMID_MAX_LEVELS 10u |
Maximum number of levels supported by NvSciBufType_Pyramid.
Definition at line 299 of file nvscibuf.h.
#define NV_SCI_BUF_RAW_BUF_ATTR_KEY_START |
Indicates starting value of NvSciBufAttrKey for NvSciBufType_RawBuffer.
Definition at line 368 of file nvscibuf.h.
#define NV_SCI_BUF_TENSOR_ATTR_KEY_START |
Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Tensor.
Definition at line 396 of file nvscibuf.h.
#define NV_SCI_BUF_TENSOR_MAX_DIMS 8u |
Maximum number of dimensions supported by NvSciBufType_Tensor.
Definition at line 287 of file nvscibuf.h.
#define NVSCIBUF_EXPORT_DESC_SIZE 32u |
Indicates the size of export descriptor.
Definition at line 304 of file nvscibuf.h.
|
static |
|
static |