Intel® oneAPI Math Kernel Library Developer Reference - C
Registers user-defined basic generator.
brng = vslRegisterBrng( &properties );
Name |
Type |
Description |
---|---|---|
properties |
const VSLBRngProperties* |
Pointer to the structure containing properties of the basic generator to be registered |
Name |
Type |
Description |
---|---|---|
brng |
int |
Number (index) of the registered basic generator; used for identification. Negative values indicate the registration error. |
An example of a registration procedure can be found in the respective directory of the VS examples.
Indicates no error, execution is successful.
Registration cannot be completed due to lack of free entries in the table of registered BRNGs.
Bad value in StreamStateSize field.
Bad value in WordSize field.
Bad value in NSeeds field.
Bad value in NBits field.
At least one of the fields iBrng, dBrng, sBrng or InitStream is a NULL pointer.