DriveWorks SDK Reference
3.0.4260 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 folders under <installation_folder>.

    /<installation_folder>/driveworks-<version>/                      main installation folder
    /<installation_folder>/driveworks/                                symbolic link to /usr/local/driveworks-<version>
    /<installation_folder>/driveworks-<version>/bin                   precompiled binary samples
    /<installation_folder>/driveworks-<version>/data                  data for samples and tools
    /<installation_folder>/driveworks-<version>/include               symbolic link to targets/<platform>/include
    /<installation_folder>/driveworks-<version>/lib                   symbolic link to targets/<platform>/lib
    /<installation_folder>/driveworks-<version>/samples               sources for the samples
    /<installation_folder>/driveworks-<version>/targets/<platform>    DriveWorks libraries and header files
    /<installation_folder>/driveworks-<version>/tools                 DriveWorks 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 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 about the platform is printed on the console:

nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_hello_world
*************************************************
Welcome to DriveWorks SDK
[31-7-2018 9:8:24] Initialize DriveWorks SDK v1.2.227
[31-7-2018 9:8:24] Release build with GNU 4.9.4 from v1.2.0-rc6-0-g79beb2a against Vibrante PDK v5.0.10.3
[31-7-2018 9:8:24] Platform: Detected Drive PX2 - Tegra A
[31-7-2018 9:8:24] TimeSource: monotonic epoch time offset is 1532010806746835
[31-7-2018 9:8:24] TimeSource: PTP ioctl returned error. Synchronized time will not be available.
[31-7-2018 9:8:24] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[31-7-2018 9:8:25] Platform: number of GPU devices detected 2
[31-7-2018 9:8:25] Platform: currently selected GPU device discrete ID 0
[31-7-2018 9:8:25] SDK: Resources mounted from /usr/local/driveworks-1.2/data/resources
[31-7-2018 9:8:25] SDK: Create NvMediaDevice
[31-7-2018 9:8:25] SDK: Create NvMediaIPPManager
[31-7-2018 9:8:25] egl::Display: found 2 EGL devices
[31-7-2018 9:8:25] egl::Display: use drm device: drm-nvdc
Context of Driveworks SDK successfully initialized.
Version: 1.2.227
GPU devices detected: 2
[31-7-2018 9:8:25] Platform: currently selected GPU device discrete ID 0
[31-7-2018 9:8:25] Platform: currently selected GPU device discrete ID 0
----------------------------------------------
Device: 0, DRIVE PX 2 AutoChauffeur
CUDA Driver Version / Runtime Version : 9.2 / 9.2
CUDA Capability Major/Minor version number: 6.1
Total amount of global memory in MBytes:3839.94
Memory Clock rate Ghz: 3003000
Memory Bus Width bits: 128
L2 Cache Size: 1048576
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: 2
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
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: 4, Device PCI location ID: 0
Compute Mode: Default (multiple host threads can use ::cudaSetDevice() with device simultaneously)
Concurrent kernels: 1
Concurrent memory: 0

[31-7-2018 9:8:25] Platform: currently selected GPU device integrated ID 1
[31-7-2018 9:8:25] Platform: currently selected GPU device integrated ID 1
----------------------------------------------
Device: 1, NVIDIA Tegra X2
CUDA Driver Version / Runtime Version : 9.2 / 9.2
CUDA Capability Major/Minor version number: 6.2
Total amount of global memory in MBytes:6401.58
Memory Clock rate Ghz: 1600000
Memory Bus Width bits: 128
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: 32768
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

[31-7-2018 9:8:25] SDK: Release NvMediaDevice
[31-7-2018 9:8:25] Driveworks SDK released
[31-7-2018 9:8:25] 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.