1 | APP_ERROR AscendStream::LaunchCallBack(aclrtCallback fn, void* userData); |
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
fn |
Input |
Specifies the callback function to be added. Function prototype of the callback function:
|
||
userData |
Input |
Parameter required by the callback function. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |