DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

GPUProperties.h
Go to the documentation of this file.
1
2//
3// Notice
4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8//
9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10// information or for any infringement of patents or other rights of third parties that may
11// result from its use. No license is granted by implication or otherwise under any patent
12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13// expressly authorized by NVIDIA. Details are subject to change without notice.
14// This code supersedes and replaces all information previously supplied.
15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16// components in life support devices or systems without express written approval of
17// NVIDIA CORPORATION & AFFILIATES.
18//
19// SPDX-FileCopyrightText: Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21//
22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23// property and proprietary rights in and to this material, related
24// documentation and any modifications thereto. Any use, reproduction,
25// disclosure or distribution of this material and related documentation
26// without an express license agreement from NVIDIA CORPORATION or
27// its affiliates is strictly prohibited.
28//
30
31#ifndef DW_CORE_GPUPROPERTIES_H_
32#define DW_CORE_GPUPROPERTIES_H_
33#include <stdint.h>
34
41{
43 int32_t major;
45 int32_t minor;
49 int32_t l2CacheSize;
51 int32_t maxTexture1D;
53 int32_t maxTexture2D[2];
55 int32_t maxTexture3D[3];
61 int32_t regsPerBlock;
63 int32_t warpSize;
69 int32_t maxThreadsDim[3];
71 int32_t maxGridSize[3];
73 int32_t memPitch;
83 int32_t integrated;
87 int32_t eccEnabled;
91 int32_t pciDomainID;
93 int32_t pciBusID;
95 int32_t pciDeviceID;
99 int32_t computeMode;
101
102#endif //DW_CORE_GPUPROPERTIES_H_
int32_t asyncEngineCount
Number of async engines.
Definition: GPUProperties.h:79
int32_t concurrentKernels
Number of concurrent kernels.
Definition: GPUProperties.h:97
int32_t warpSize
Warp size.
Definition: GPUProperties.h:63
int32_t maxThreadsPerMultiProcessor
Max threads per processor.
Definition: GPUProperties.h:65
int32_t maxGridSize[3]
Max grid size.
Definition: GPUProperties.h:71
int32_t regsPerBlock
Registers per block.
Definition: GPUProperties.h:61
int32_t maxThreadsPerBlock
Max threads per block.
Definition: GPUProperties.h:67
int32_t minor
Minor version.
Definition: GPUProperties.h:45
int32_t pciDeviceID
The PCI device ID.
Definition: GPUProperties.h:95
int32_t integrated
Integrated GPU flag.
Definition: GPUProperties.h:83
int32_t major
Major version.
Definition: GPUProperties.h:43
int32_t kernelExecTimeoutEnabled
Kernel timeout enabled flag.
Definition: GPUProperties.h:81
int32_t memoryBusWidth
Memory bus width.
Definition: GPUProperties.h:47
int32_t canMapHostMemory
Can map host memory flag.
Definition: GPUProperties.h:85
int32_t textureAlignment
Texture alignment.
Definition: GPUProperties.h:75
int32_t maxThreadsDim[3]
Max thread size.
Definition: GPUProperties.h:69
int32_t eccEnabled
ECC enabled flag.
Definition: GPUProperties.h:87
int32_t maxTexture2D[2]
Max number of textures 2D.
Definition: GPUProperties.h:53
int32_t pciDomainID
The PCI domain ID.
Definition: GPUProperties.h:91
int32_t maxTexture1D
Max number of textures 1D.
Definition: GPUProperties.h:51
int32_t computeMode
Compute mode flag.
Definition: GPUProperties.h:99
int32_t l2CacheSize
L2 cache size.
Definition: GPUProperties.h:49
int32_t deviceOverlap
Device overlap.
Definition: GPUProperties.h:77
int32_t pciBusID
The PCI bus ID.
Definition: GPUProperties.h:93
int32_t unifiedAddressing
Unified addressing flag.
Definition: GPUProperties.h:89
int32_t totalConstMem
Total memory.
Definition: GPUProperties.h:57
int32_t maxTexture3D[3]
Max number of textures 3D.
Definition: GPUProperties.h:55
int32_t sharedMemPerBlock
Total shared memory per block.
Definition: GPUProperties.h:59
int32_t memPitch
Memory pitch.
Definition: GPUProperties.h:73
GPU device properties.
Definition: GPUProperties.h:41