Function: create_stream_with_config
Description
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)
Parameters
Parameter |
Description |
|---|---|
priority |
priority: int, priority. For the For the For the For the |
flag |
Int, flag of the stream. Values:
|
Return Value
Return Value |
Description |
|---|---|
stream |
Int, stream object pointer address. |
ret |
Int, error code. 0 on success; else, failure. |