Function: create_stream
|
C Prototype |
aclError aclrtCreateStream(aclrtStream *stream) |
|---|---|
|
Python Function |
stream, ret = acl.rt.create_stream() |
|
Function Usage |
Creates a stream in the calling process or thread. |
|
Input Description |
None |
|
Return Value |
stream: int, pointer address of the created stream. ret: int, error code.
|
|
Restrictions |
|
|
Reference |
For details about the API call sequence and example, see Runtime Resource Allocation and Deallocation. |
Parent topic: Streams Management