Function: create_stream_with_config
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Creates a stream in the calling process or thread.
For the
For the
For the
For the
For the
Prototype
- C Prototype
1aclError aclrtCreateStreamWithConfig(aclrtStream *stream, uint32_t priority, uint32_t flag)
- Python Function
1stream, ret = acl.rt.create_stream_with_config(priority,flag)
Parameter Description
Parameter |
Description |
|---|---|
priority |
priority: int, priority. For the For the For the For the |
flag |
Int, flag of the stream. Value range:
|
Return Value Description
Return Value |
Description |
|---|---|
stream |
Int, stream object pointer address. |
ret |
Int, error code: 0 on success; else, failure. |