Software Archive
Read-only legacy content
17061 Discussions

LIBXSMM Prefetching on Xeon Phi

Joe_D_1
Beginner
469 Views

Hi,

I am attempting to use LIBXSMM on a Xeon Phi and it fails to compile when I use

    make install OFFLOAD=1 PREFETCH=1 MNK="2,4,6,8,10,12,14,16,18,20,23"

I am getting the error

    ~/libxsmm/samples/smm/specialized.cpp(143): error: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function type
            xmm(pa, pb, pc LIBXSMM_PREFETCH_ARGA(pa + asize) LIBXSMM_PREFETCH_ARGB(pb + bsize) LIBXSMM_PREFETCH_ARGC(tmp) LIBXSMM_PREFETCH_ARGC(pc + csize_act));

It will compile on the Phi without prefetching, and it will compile with prefetching when not being offloaded to the Phi.  Is there something I need to add for prefetching on the Phi?

I am checked out at commit 00dd1455655fe2a715ae8b0f90d38fbb3680f48a, because it will not compile for the Phi at all on the most recent release.

0 Kudos
1 Reply
Hans_P_Intel
Employee
469 Views

The issue is fixed and can be found under https://github.com/hfp/libxsmm/issues/28 for further reference.

0 Kudos
Reply