Skip to content

Compilation issue on the PowerPC #45

@eddy16112

Description

@eddy16112

I try to use TBLIS on the PowerPC, and I am able to compile the TBLIS, but when I try to include a header file, I am getting the following error:

In file included from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/../external/marray/include/expression.hpp:4,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/../external/marray/include/marray_base.hpp:509,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/../external/marray/include/varray_base.hpp:4,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/../external/marray/include/varray_view.hpp:4,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/../external/marray/include/varray.hpp:4,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/basic_types.h:38,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/util/configs.h:4,
                 from /autofs/nccs-svm1_home1/wwu12/install/TBLIS/include/tblis/tblis.h:4,
                 from cunumeric/matrix/contract.cc:21:
/autofs/nccs-svm1_sw/summit/gcc/9.3.0-2/lib/gcc/powerpc64le-unknown-linux-gnu/9.3.0/include/x86intrin.h:32:2: error: #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error." 

The error is from https://github.com/devinamatthews/tblis/blob/master/src/external/marray/include/expression.hpp#L4
I can add the -DNO_WARN_X86_INTRINSICS to mute this error, but I think the include <x86intrin.h> is not masked correctly in the expression.hpp. I also want to know if TBLIS supports PowerPC vector intrinsics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions