DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

Verify Your Installation

If you have successfully run NVIDIA® SDK Manager or followed the installation steps for your platform, you can find the following NVIDIA DriveWorks SDK folders under <installation_folder>:

<installation_folder>/driveworks-4.0/ main installation folder
<installation_folder>/driveworks/ symbolic link to /usr/local/driveworks-4.0
<installation_folder>/driveworks-4.0/bin precompiled binary samples
<installation_folder>/driveworks-4.0/data data for samples and tools
<installation_folder>/driveworks-4.0/doc documentation
<installation_folder>/driveworks-4.0/include symbolic link to targets/<platform>/include
<installation_folder>/driveworks-4.0/lib symbolic link to targets/<platform>/lib
<installation_folder>/driveworks-4.0/samples sources for the samples
<installation_folder>/driveworks-4.0/targets/<platform> NVIDIA DriveWorks SDK libraries and header files
<installation_folder>/driveworks-4.0/tools NVIDIA DriveWorks SDK tools
Note
The specific location of <installation_folder> depends on the platform on which it is installed. For details, see the installation section in Getting Started.

To Easily Ensure That All Components Are Correctly Installed

Execute an NVIDIA DriveWorks SDK sample.

  1. Navigate to the installation folder:
    cd <installation_folder>/bin
  2. Execute the following command:
    ./sample_hello_world

If the installation is successful, the following information is printed to the console:

Welcome to DriveWorks SDK
[19-10-2021 11:20:52] Platform: Detected DDPX - Tegra A
[19-10-2021 11:20:52] TimeSource: monotonic epoch time offset is 1532010806746835
[19-10-2021 11:20:52] TimeSource: PTP Time is available from NVPPS Driver
[19-10-2021 11:20:52] Platform: number of GPU devices detected 1
[19-10-2021 11:20:52] Platform: currently selected GPU device integrated ID 0
[19-10-2021 11:20:52] SDK: Resources mounted from /usr/local/driveworks-4.0/data/resources
[19-10-2021 11:20:52] SDK: Create NvMediaDevice
[19-10-2021 11:20:52] SDK: Create NvMedia2D
[19-10-2021 11:20:52] egl::Display: found 1 EGL device
[19-10-2021 11:20:52] egl::Display: use drm device: drm-nvdc
[19-10-2021 11:20:52] Initialize DriveWorks SDK v4.0.0
[19-10-2021 11:20:52] Release build with GNU 7.3.1 against Drive PDK v5.2.6.0
Context of Driveworks SDK successfully initialized.
Version: 4.0.0
GPU devices detected: 1
[19-10-2021 11:20:52] Platform: currently selected GPU device integrated ID 0
----------------------------------------------
Device: 0, Xavier
CUDA Driver Version / Runtime Version : 10.2 / 10.2
CUDA Capability Major/Minor version number: 7.2
Total amount of global memory in MBytes:28409.2
Memory Clock rate Khz: 1109000
Memory Bus Width bits: 256
L2 Cache Size: 524288
Maximum 1D Texture Dimension Size (x): 131072
Maximum 2D Texture Dimension Size (x,y): 131072, 65536
Maximum 3D Texture Dimension Size (x,y,z): 16384, 16384, 16384
Maximum Layered 1D Texture Size, (x): 32768 num: 2048
Maximum Layered 2D Texture Size, (x,y): 32768, 32768 num: 2048
Total amount of constant memory bytes: 65536
Total amount of shared memory per block bytes: 49152
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): 1024,1024,64
Max dimension size of a grid size (x,y,z): 2147483647,65535,65535
Maximum memory pitch bytes: 2147483647
Texture alignment bytes: 512
Concurrent copy and kernel execution: Yes, copy engines num: 1
Run time limit on kernels: No
Integrated GPU sharing Host Memory: Yes
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID: 0, Device PCI Bus ID: 0, Device PCI location ID: 0
Compute Mode: Default (multiple host threads can use ::cudaSetDevice() with device simultaneously)
Concurrent kernels: 1
Concurrent memory: 0
[19-10-2021 11:20:52] Releasing Driveworks SDK Context
[19-10-2021 11:20:52] SDK: Release NvMediaDevice
[19-10-2021 11:20:52] SDK: Release NvMedia2D
Happy autonomous driving!
Note
For a full list of samples that can be run out of the box, see Samples.
For detailed instructions on building the samples from source see Building DriveWorks Samples.