Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.09 KB

File metadata and controls

37 lines (27 loc) · 1.09 KB

NVPL Tensor Examples

Build

If NVPL is not installed under a default system prefix (e.g., /usr), then ensure environment variable nvpl_ROOT is set to the alternate NVPL root prefix (e.g., $HOME/nvpl).

CMake

$ cmake -S . -B build/default
$ cmake --build build/default

CMake Presets

Alterntively use CMake presets which require >=CMake-3.23. See:

$ cmake --preset default
$ cmake --build --preset default
$ ctest --preset default

Run

$ ./build/default/<example-exe>