aclrtCtxGetCurrentDefaultStream
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the default stream of a context.
Prototype
1 | aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Output |
Default stream of a context. For details about the type definition, see aclrtStream. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Context Management