NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
GPUProperties.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef DW_CORE_GPUPROPERTIES_H_
14 #define DW_CORE_GPUPROPERTIES_H_
15 #include <stdint.h>
16 
22 // coverity[misra_c_2012_rule_2_4_violation] Deviation Record: AV-NDAS-SWSADR-003
23 typedef struct dwGPUDeviceProperties
24 {
26  int32_t major;
28  int32_t minor;
30  int32_t memoryBusWidth;
32  int32_t l2CacheSize;
34  int32_t maxTexture1D;
36  int32_t maxTexture2D[2];
38  int32_t maxTexture3D[3];
40  int32_t totalConstMem;
44  int32_t regsPerBlock;
46  int32_t warpSize;
52  int32_t maxThreadsDim[3];
54  int32_t maxGridSize[3];
56  int32_t memPitch;
60  int32_t deviceOverlap;
66  int32_t integrated;
70  int32_t eccEnabled;
74  int32_t pciDomainID;
76  int32_t pciBusID;
78  int32_t pciDeviceID;
82  int32_t computeMode;
86 
87 #endif //DW_CORE_GPUPROPERTIES_H_
dwGPUDeviceProperties
GPU device properties.
Definition: GPUProperties.h:23
dwGPUDeviceProperties::warpSize
int32_t warpSize
Warp size.
Definition: GPUProperties.h:46
dwGPUDeviceProperties::canMapHostMemory
int32_t canMapHostMemory
Can map host memory flag.
Definition: GPUProperties.h:68
dwGPUDeviceProperties::sharedMemPerBlock
int32_t sharedMemPerBlock
Total shared memory per block.
Definition: GPUProperties.h:42
dwGPUDeviceProperties::textureAlignment
int32_t textureAlignment
Texture alignment.
Definition: GPUProperties.h:58
dwGPUDeviceProperties::memPitch
int32_t memPitch
Memory pitch.
Definition: GPUProperties.h:56
dwGPUDeviceProperties::major
int32_t major
Major version.
Definition: GPUProperties.h:26
dwGPUDeviceProperties
struct dwGPUDeviceProperties dwGPUDeviceProperties
GPU device properties.
dwGPUDeviceProperties::unifiedAddressing
int32_t unifiedAddressing
Unified addressing flag.
Definition: GPUProperties.h:72
dwGPUDeviceProperties::deviceOverlap
int32_t deviceOverlap
Device overlap.
Definition: GPUProperties.h:60
dwGPUDeviceProperties::maxTexture2D
int32_t maxTexture2D[2]
Max number of textures 2D.
Definition: GPUProperties.h:36
dwGPUDeviceProperties::totalConstMem
int32_t totalConstMem
Total memory.
Definition: GPUProperties.h:40
dwGPUDeviceProperties::maxThreadsDim
int32_t maxThreadsDim[3]
Max thread size.
Definition: GPUProperties.h:52
dwGPUDeviceProperties::memoryBusWidth
int32_t memoryBusWidth
Memory bus width.
Definition: GPUProperties.h:30
dwGPUDeviceProperties::regsPerBlock
int32_t regsPerBlock
Registers per block.
Definition: GPUProperties.h:44
dwGPUDeviceProperties::minor
int32_t minor
Minor version.
Definition: GPUProperties.h:28
dwGPUDeviceProperties::devAttrTexturePitchAlignment
int32_t devAttrTexturePitchAlignment
Pitch alignment supported by texture unit.
Definition: GPUProperties.h:84
dwGPUDeviceProperties::maxGridSize
int32_t maxGridSize[3]
Max grid size.
Definition: GPUProperties.h:54
dwGPUDeviceProperties::pciDomainID
int32_t pciDomainID
The PCI domain ID.
Definition: GPUProperties.h:74
dwGPUDeviceProperties::maxThreadsPerMultiProcessor
int32_t maxThreadsPerMultiProcessor
Max threads per processor.
Definition: GPUProperties.h:48
dwGPUDeviceProperties::computeMode
int32_t computeMode
Compute mode flag.
Definition: GPUProperties.h:82
dwGPUDeviceProperties::integrated
int32_t integrated
Integrated GPU flag.
Definition: GPUProperties.h:66
dwGPUDeviceProperties::pciDeviceID
int32_t pciDeviceID
The PCI device ID.
Definition: GPUProperties.h:78
dwGPUDeviceProperties::l2CacheSize
int32_t l2CacheSize
L2 cache size.
Definition: GPUProperties.h:32
dwGPUDeviceProperties::pciBusID
int32_t pciBusID
The PCI bus ID.
Definition: GPUProperties.h:76
dwGPUDeviceProperties::kernelExecTimeoutEnabled
int32_t kernelExecTimeoutEnabled
Kernel timeout enabled flag.
Definition: GPUProperties.h:64
dwGPUDeviceProperties::eccEnabled
int32_t eccEnabled
ECC enabled flag.
Definition: GPUProperties.h:70
dwGPUDeviceProperties::asyncEngineCount
int32_t asyncEngineCount
Number of async engines.
Definition: GPUProperties.h:62
dwGPUDeviceProperties::maxThreadsPerBlock
int32_t maxThreadsPerBlock
Max threads per block.
Definition: GPUProperties.h:50
dwGPUDeviceProperties::maxTexture1D
int32_t maxTexture1D
Max number of textures 1D.
Definition: GPUProperties.h:34
dwGPUDeviceProperties::maxTexture3D
int32_t maxTexture3D[3]
Max number of textures 3D.
Definition: GPUProperties.h:38
dwGPUDeviceProperties::concurrentKernels
int32_t concurrentKernels
Number of concurrent kernels.
Definition: GPUProperties.h:80