Hi Benson,

the older Xeon Phi cards (KNC) have a special 512-bit SIMD instruction set, that is not AVX-512, but can be seen as its predecessor. For those, an older Intel SDK (14.2) is available, but support was removed without any rationale in later releases. I got OpenMP-competitive performance with that SDK on KNC, with automatic as well as with manual vectorisation schemes.

    https://software.intel.com/en-us/articles/opencl-drivers

Using PoCL on KNC would probably work if you manage to compile it natively (along with all dependencies) on the KNC and run the host code natively too.

On the fully x86-64 compatible KNL generation of the Xeon Phi, the Xeon OpenCL driver with AVX2 can be used. As well as any other SDK supporting x86/AVX (e.g. PoCL and AMD).

Cheers,
Matthias


On 28.06.2017 15:28, Benson Muite wrote:
Hi Matthias,

Your results are interesting. How did you get OpenCL to work on Knights landing? Would this work on older Xeon Phi cards?

Regards,
Benson

On 06/28/2017 04:03 PM, Matthias Noack wrote:
Hi all,

the following talk from IWOCL'17 has some numbers on PoCL on Xeon (HSW), and Xeon Phi (KNL) for two applications using PoCL and other SDKs:

http://www.iwocl.org/wp-content/uploads/iwocl2017_matthias-noack-good-bad-ugly.pdf

The numbers for the comet simulation (slide 18, pdf 53), show some weird outliers every 32 work-items, when increasing the overall number of work-items (particles).

The HEOM code reveals a large performance gap in comparison with the Intel SDK on KNL, while is looks quite competitive on HSW. This is especially strange, as the Intel SDK has only AVX2 support, while PoCL should be able to generate AVX-512 code using LLVM. I compiled PoCL and LLVM on the target architectures, and made sure the result is an actual Haswell and KNL built.

Is anyone interested in working on improving these issues?

Thanks,
Matthias


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to