.. index:: pair: struct; pot::HostIsa .. _doxid-structpot_1_1_host_isa: struct pot::HostIsa =================== .. toctree:: :hidden: Overview ~~~~~~~~ Extensions of the host CPU that the package ISA tokens refer to, each true only when CPUID reports it and the OS saves its register state. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct HostIsa { // fields bool :target:`avx2` = false; bool :target:`fma` = false; bool :target:`avx512f` = false; bool :target:`avx512dq` = false; bool :target:`avx512bw` = false; bool :target:`avx512vl` = false; bool :target:`avx512_vnni` = false; bool :target:`avx512_bf16` = false; bool :target:`amx_tile` = false; bool :target:`amx_bf16` = false; bool :target:`amx_int8` = false; // methods static HostIsa :ref:`detect`(); }; .. _details-structpot_1_1_host_isa: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Extensions of the host CPU that the package ISA tokens refer to, each true only when CPUID reports it and the OS saves its register state. Methods ------- .. index:: pair: function; detect .. _doxid-structpot_1_1_host_isa_1af73c4ed99565de92cd39fc859dc21542: .. ref-code-block:: cpp :class: doxyrest-title-code-block static HostIsa detect() CPUID and XGETBV of the calling host; all false off x86-64.