Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Checks whether overflow detection is enabled for a specified stream.
1 | aclError aclrtGetStreamOverflowSwitch(aclrtStream stream, uint32_t flag) |
1 | flag, ret = acl.rt.get_stream_overflow_switch(stream) |
Parameter |
Description |
|---|---|
stream |
Int, pointer address of the stream to be operated. If 0 is passed, the default stream will be operated. |
Return Value |
Description |
|---|---|
flag |
Int, overflow detection switch. The options are as follows:
|
ret |
Int, error code. 0 on success; else, failure. |