aclrtCheckArchCompatibility
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Checks whether operator instructions are compatible with the AI processor version.
Prototype
1 | aclError aclrtCheckArchCompatibility(const char *socVersion, int32_t *canCompatible) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
socVersion |
Input |
AI processor version. |
canCompatible |
Output |
Compatibility. 1 indicates compatible, and 0 indicates incompatible. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Model Running Instance Management