Software Archive
Read-only legacy content
17061 Discussions

Xeon Phi under OpenCL

Shawn_K_
Beginner
842 Views

I am curious if the Xeon Phi coprocessors, specifically if they can be used "out of the box" in existing OpenCL applications that support the Xeon OpenCL Framework?

I use software that uses OpenCL, and this software recognizes the Xeons in my workstation. I was wondering if the same would go for the Phi without recoding.

0 Kudos
5 Replies
Loc_N_Intel
Employee
842 Views

Hello,

First, make sure that your system supports the Intel (R) Xeon Phi(TM) coprocessor.

If you use the Intel(R) SDK for OpenCL Applications (https://software.intel.com/en-us/intel-opencl), and the MPSS version 3.3 (https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss-archive), then your application should recognize Intel Xeon Phi coprocessor as an OpenCL node.

.

0 Kudos
JJK
New Contributor III
842 Views

I'd like to add one extra comment:

Most OpenCL code that I've seen thus far has trouble selecting the right cpu or card; some older code is NVidia biased, some code is AMD biased.

Also, the Xeon Phi is not registered as a GPU but as an ACCELERATOR, this confuses some simple OpenCL samples that I have seen as well. Luckily, only a very minor change is usually needed to get the code to recognize and use the Xeon Phi. And, wiht *proper* coding the Phi will work out of the box - but without knowing what type of application you're running it is impossible to tell if it's properly coded ;)

 

0 Kudos
Shawn_K_
Beginner
842 Views

Thanks all. I am interested in Blender (with OpenCL enabled) and LuxRender. I didn't want to specify too early in this conversation since sometimes it's hard to get broad information when specifics are provided. I already know that nobody has tried this yet, and am trying to get enough information here to ask the right questions.

I know that Lux will "see" the Xeon processors, but as for if lux can see openCL nodes that are "accelerators" I don't know.

Either way, it seems like a relatively easy thing to do. I wonder if anyone at the Blender Foundation has a promo card yet.

0 Kudos
PouryaShirazian
Beginner
842 Views

I have installed my Xeon Phi card on CentOS 6.6 successfully. I can log into the device using "ssh mic0" and micinfo returns correct values.

However, the OpenCL runtime crashes upon building my kernel program for this device. When selecting the cpu device it builds the program successfuly. MPSS is running and the board is updated with the latest firmware. Can you please advise?

sudo service mpss status
mpss is running
0 Kudos
JJK
New Contributor III
842 Views

your question is slightly off-topic , compared to the original question in this thread.

I have seen the same thing you're seeing , however, and never found a solution for it. It has little to do with the Xeon Phi itself, but more with the OpenCL runtime for the Xeon Phi.

A larger problem is that Intel's support for OpenCL on the Xeon Phi seems to have ended: the last version of the MPSS stack for which OpenCL was supported was mpss 3.3 , and that version is no longer supported by Intel. It would be nice to hear from Intel what their current standpoint is on OpenCL for the Phi :)

0 Kudos
Reply