NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
GPUProperties.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2016-2024 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 typedef struct dwGPUDeviceProperties
23 {
25  int32_t major;
27  int32_t minor;
29  int32_t memoryBusWidth;
31  int32_t l2CacheSize;
33  int32_t maxTexture1D;
35  int32_t maxTexture2D[2];
37  int32_t maxTexture3D[3];
39  int32_t totalConstMem;
43  int32_t regsPerBlock;
45  int32_t warpSize;
51  int32_t maxThreadsDim[3];
53  int32_t maxGridSize[3];
55  int32_t memPitch;
59  int32_t deviceOverlap;
65  int32_t integrated;
69  int32_t eccEnabled;
73  int32_t pciDomainID;
75  int32_t pciBusID;
77  int32_t pciDeviceID;
81  int32_t computeMode;
85 
86 #endif //DW_CORE_GPUPROPERTIES_H_
dwGPUDeviceProperties
GPU device properties.
Definition: GPUProperties.h:22
dwGPUDeviceProperties::warpSize
int32_t warpSize
Warp size.
Definition: GPUProperties.h:45
dwGPUDeviceProperties::canMapHostMemory
int32_t canMapHostMemory
Can map host memory flag.
Definition: GPUProperties.h:67
dwGPUDeviceProperties::sharedMemPerBlock
int32_t sharedMemPerBlock
Total shared memory per block.
Definition: GPUProperties.h:41
dwGPUDeviceProperties::textureAlignment
int32_t textureAlignment
Texture alignment.
Definition: GPUProperties.h:57
dwGPUDeviceProperties::memPitch
int32_t memPitch
Memory pitch.
Definition: GPUProperties.h:55
dwGPUDeviceProperties::major
int32_t major
Major version.
Definition: GPUProperties.h:25
dwGPUDeviceProperties
struct dwGPUDeviceProperties dwGPUDeviceProperties
GPU device properties.
dwGPUDeviceProperties::unifiedAddressing
int32_t unifiedAddressing
Unified addressing flag.
Definition: GPUProperties.h:71
dwGPUDeviceProperties::deviceOverlap
int32_t deviceOverlap
Device overlap.
Definition: GPUProperties.h:59
dwGPUDeviceProperties::maxTexture2D
int32_t maxTexture2D[2]
Max number of textures 2D.
Definition: GPUProperties.h:35
dwGPUDeviceProperties::totalConstMem
int32_t totalConstMem
Total memory.
Definition: GPUProperties.h:39
dwGPUDeviceProperties::maxThreadsDim
int32_t maxThreadsDim[3]
Max thread size.
Definition: GPUProperties.h:51
dwGPUDeviceProperties::memoryBusWidth
int32_t memoryBusWidth
Memory bus width.
Definition: GPUProperties.h:29
dwGPUDeviceProperties::regsPerBlock
int32_t regsPerBlock
Registers per block.
Definition: GPUProperties.h:43
dwGPUDeviceProperties::minor
int32_t minor
Minor version.
Definition: GPUProperties.h:27
dwGPUDeviceProperties::devAttrTexturePitchAlignment
int32_t devAttrTexturePitchAlignment
Pitch alignment supported by texture unit.
Definition: GPUProperties.h:83
dwGPUDeviceProperties::maxGridSize
int32_t maxGridSize[3]
Max grid size.
Definition: GPUProperties.h:53
dwGPUDeviceProperties::pciDomainID
int32_t pciDomainID
The PCI domain ID.
Definition: GPUProperties.h:73
dwGPUDeviceProperties::maxThreadsPerMultiProcessor
int32_t maxThreadsPerMultiProcessor
Max threads per processor.
Definition: GPUProperties.h:47
dwGPUDeviceProperties::computeMode
int32_t computeMode
Compute mode flag.
Definition: GPUProperties.h:81
dwGPUDeviceProperties::integrated
int32_t integrated
Integrated GPU flag.
Definition: GPUProperties.h:65
dwGPUDeviceProperties::pciDeviceID
int32_t pciDeviceID
The PCI device ID.
Definition: GPUProperties.h:77
dwGPUDeviceProperties::l2CacheSize
int32_t l2CacheSize
L2 cache size.
Definition: GPUProperties.h:31
dwGPUDeviceProperties::pciBusID
int32_t pciBusID
The PCI bus ID.
Definition: GPUProperties.h:75
dwGPUDeviceProperties::kernelExecTimeoutEnabled
int32_t kernelExecTimeoutEnabled
Kernel timeout enabled flag.
Definition: GPUProperties.h:63
dwGPUDeviceProperties::eccEnabled
int32_t eccEnabled
ECC enabled flag.
Definition: GPUProperties.h:69
dwGPUDeviceProperties::asyncEngineCount
int32_t asyncEngineCount
Number of async engines.
Definition: GPUProperties.h:61
dwGPUDeviceProperties::maxThreadsPerBlock
int32_t maxThreadsPerBlock
Max threads per block.
Definition: GPUProperties.h:49
dwGPUDeviceProperties::maxTexture1D
int32_t maxTexture1D
Max number of textures 1D.
Definition: GPUProperties.h:33
dwGPUDeviceProperties::maxTexture3D
int32_t maxTexture3D[3]
Max number of textures 3D.
Definition: GPUProperties.h:37
dwGPUDeviceProperties::concurrentKernels
int32_t concurrentKernels
Number of concurrent kernels.
Definition: GPUProperties.h:79