aclCompileOpt
typedef enum {
ACL_PRECISION_MODE, // Sets the operator precision mode of a network model.
ACL_AICORE_NUM, // Sets the number of AI Cores used for model compilation.
ACL_AUTO_TUNE_MODE, // Sets the operator auto tuning mode.
ACL_OP_SELECT_IMPL_MODE, // Sets the operator implementation mode.
ACL_OPTYPELIST_FOR_IMPLMODE, // Lists operator types. Operators in the list are implemented in the mode specified by ACL_OP_SELECT_IMPL_MODE.
ACL_OP_DEBUG_LEVEL, // Enables or disables TBE operator debug during operator compilation.
ACL_DEBUG_DIR, // Sets the debug directory, for saving the files generated during model conversion and network migration, including the .o, .json, and .cce files of operators.
ACL_OP_COMPILER_CACHE_MODE, // Sets the disk cache mode for operator compilation.
ACL_OP_COMPILER_CACHE_DIR, // Sets the disk cache directory for operator compilation.
ACL_OP_PERFORMANCE_MODE, // Determines whether to compile operators in high-performance mode.
ACL_OP_JIT_COMPILE, // Determines whether to compile an operator online or use the binary file of a compiled operator.
ACL_OP_DETERMINISTIC, // Determines whether to enable deterministic computing.
ACL_CUSTOMIZE_DTYPES, // Customizes the computation precision of one or more operators during model compilation.
ACL_OP_PRECISION_MODE, // Sets the precision mode for internal operator processing. One or more operators can be specified.
ACL_ALLOW_HF32, // HF32 is a precision type of the Ascend AI Processor for the internal computation of operators. It is not supported in the current version.
ACL_PRECISION_MODE_V2, // Sets the operator precision mode of a network model. Compared with ACL_PRECISION_MODE, ACL_PRECISION_MODE_V2 is added in the new version, offering more precision modes and clearer semantics for the existing precision mode options.
ACL_OP_DEBUG_OPTION // Currently, this option can only be set to oom, indicating that global memory out-of-bounds access detection is enabled.
} aclCompileOpt;
Parent topic: Data Types and Operation APIs
