aclrtRandomNumAsync
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
Description
Delivers and executes a random number generation task. This API is asynchronous.
Prototype
aclError aclrtRandomNumAsync(const aclrtRandomNumTaskInfo *taskInfo, const aclrtStream stream, void *reserve)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
taskInfo |
Input |
Random number generation task information. |
stream |
Input |
Stream that executes the random number generation task. |
reserve |
Input |
Reserved. Currently, the value is fixed to NULL. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Execution Control