aclmdlRIDestroyUnregisterCallback
Note: This API is for trial use and may be changed in later versions. It is not available in production environments.
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Unregisters a callback function registered via aclmdlRIDestroyRegisterCallback. Upon deregistration, the callback function will no longer be called when the model running instance is destroyed.
Prototype
1 | aclError aclmdlRIDestroyUnregisterCallback(aclmdlRI modelRI, aclrtCallback func) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
modelRI |
Input |
Model running instance. For details about the type definition, see aclmdlRI. |
func |
Input |
Callback function. Prototype: typedef void (*aclrtCallback)(void *userData); |
Returns
0 on success; otherwise, failure. For details, see aclError.