Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Obtains the default stream of a context.
aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream)
1 | stream, ret = acl.rt.ctx_get_current_default_stream() |
None
Return Value |
Description |
|---|---|
stream |
Int, obtained default stream of the context. |
ret |
Int, error code. 0 on success; else, failure. |