tblis icon indicating copy to clipboard operation
tblis copied to clipboard

Compilation issue on the PowerPC

Open eddy16112 opened this issue 3 years ago • 8 comments

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.

eddy16112 avatar Apr 20 '22 21:04 eddy16112

@eddy16112 TBLIS doesn't currently support PPC/POWER. In the near future TBLIS will work off of the BLIS framework which will allow support for x86_64, arm32, aarch64 and POWER.

devinamatthews avatar Apr 22 '22 19:04 devinamatthews

In the near future TBLIS will work off of the BLIS framework which will allow support for x86_64, arm32, aarch64 and POWER.

Hey @devinamatthews, do you know what the timeline on this looks like? I'm interested in running some experiments on a PowerPC machine using TBLIS as well.

rohany avatar May 24 '22 04:05 rohany

Within 3 months or so is my best estimate.

devinamatthews avatar May 24 '22 05:05 devinamatthews

Hi @devinamatthews, is TBLIS over BLIS available to try out yet?

manopapad avatar Mar 27 '23 21:03 manopapad

@devinamatthews I got the same question as @manopapad . We were trying to build tblis for aarch64 and got a lot of errors.

ipdemes avatar Jun 23 '23 19:06 ipdemes

I finished the first version of the plugin architecture in BLIS on Tuesday, so getting there!!

devinamatthews avatar Jun 23 '23 20:06 devinamatthews

Is that something we can try? I am OK to be an alpha tester

ipdemes avatar Jun 23 '23 20:06 ipdemes

I still have to do the TBLIS side but when there's an alpha version ready I'm happy to have testers.

devinamatthews avatar Jun 23 '23 20:06 devinamatthews