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