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