[pypy-dev] PyPy translation on Xeon Phi (pka MIC)

Ajit Dingankar ajit.dingankar at ieee.org
Mon Apr 13 06:46:45 CEST 2015


@Wim: 
Yes, I am trying to translate on the card since I couldn't find much info 
re cross-compiling and someone had suggested direct translation on the 
target platform (though not specifically for Xeon Phi). Anyway, thanks 
a lot for the tips! I'll try them at work tomorrow. BTW, I'm more interested 
in providing new functionality, not targeting high performance initially, so 
multi-threading is not important for me now; I just need to get it working... 

@Armin: 
Sorry I didn't have access to the actual error message when I posted the 
question as a general query. Will do so if I can't make progress trying 
Wim's suggestions from work. 
@Yury: Thanks for the clarification re Xeon Phi generations and usage models. 

Thanks, 
Ajit==== 



 


     On Sunday, April 12, 2015 2:46 AM, Yury V. Zaytsev <yury at shurup.com> wrote:
   
 

 On Sun, 2015-04-12 at 09:32 +0200, Armin Rigo wrote:
> Wim's reply is not helpful at all for me, as it is mostly given as a
> series of three-letter acronyms I've never heard about :-)

He's simply referring to the different generations of MICs (MIC = Many
Integrated Core architecture, KNC = Knights Corner [older models], KNL =
Knights Landing [newer models]).

> I don't know where Xeon Phi fits there. It seems to be an x86-64 from
> Wikipedia, but I'm not sure about what is special about it.

I've shortly played with KNC, and put very simply in its current shape
it's basically a plug-in computer extension card, which can function in
several modes, e.g. as an accelerator which receives tasks from the host
system and executes them, or even as a more or less stand-alone box
inside the box running (for instance) a stripped down Linux system.

In the latter mode, software just requires cross-compilation and then
can run on the board as if it was a stand-alone computer, in the former
you have to make use of special APIs to run your tasks on the MICs. It
looks like Wim has taken the first approach, which makes total sense to
get it working with minimal effort :-)

So yes, in this approximation, assume it's x86-64 which requires a
special cross-compiler and has a bit different subset of supported
insns.

-- 
Sincerely yours,
Yury V. Zaytsev




 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150413/3d85286c/attachment-0001.html>


More information about the pypy-dev mailing list