muRAND Host API Reference
muRAND provides pseudorandom and quasirandom number generation for MUSA applications. Pseudorandom generators produce deterministic sequences for statistical simulation, while quasirandom generators produce low-discrepancy point sets for workloads that benefit from more even multidimensional coverage.
muRAND exposes two public programming models: a host-side library-call model and a device-side state-based model. This document describes the host-side model and points to the device reference when in-kernel generation is the better fit.
1. Introduction
1.1 What Is the muRAND Host API
The host API is the library-call programming model in muRAND. The application
creates a murandGenerator_t, configures generator behavior on the host, and
then calls muRAND routines to fill caller-provided output buffers.
Use this model when random-number generation is a separate stage in the application pipeline and you need explicit control over generator type, seed, offset, ordering, dimensions, stream assignment, or distribution setup. If random values need to be generated and consumed immediately inside device code, see the muRAND Device API Reference.