Getting StartedΒΆ

To use NVPL RAND library, users include the header file, nvpl_rand.h to get function declarations, and link against NVPL RAND library. The same header file is used for either single-threaded or multi-threaded NVPL RAND library.

Note

While an application using NVPL RAND multi-threaded APIs, i.e., APIs with nvplRandMT prefix, is required to dynamically link to the multi-threaded library libnvpl_rand_mt.so, an application using only single-threaded generators can link to either libnvpl_rand.so or libnvpl_rand_mt.so.

Note

The default values of seed, offset, or ordering are usually sufficient for most cases, therefore using these APIs is optional.