.. index:: pair: struct; pot::AotiPackageTarget .. _doxid-structpot_1_1_aoti_package_target: struct pot::AotiPackageTarget ============================= .. toctree:: :hidden: Overview ~~~~~~~~ The fields of an AOTInductor package that name the hardware it targets. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct AotiPackageTarget { // fields bool :ref:`metadata_found` = false; std::string :ref:`device`; std::vector :ref:`cpu_isa`; }; .. _details-structpot_1_1_aoti_package_target: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ The fields of an AOTInductor package that name the hardware it targets. Fields ------ .. index:: pair: variable; metadata_found .. _doxid-structpot_1_1_aoti_package_target_1a7c74b65375d76343436df15167152e47: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool metadata_found = false any \*_metadata.json entry read .. index:: pair: variable; device .. _doxid-structpot_1_1_aoti_package_target_1a370047525980ac0f3f2245f107d1593c: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string device AOTI_DEVICE_KEY, e.g. "cpu" or "cuda". .. index:: pair: variable; cpu_isa .. _doxid-structpot_1_1_aoti_package_target_1ab49307e2c746e885912884172f06c27b: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector cpu_isa AOTI_CPU_ISA tokens, upper case.