Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a simulator/emulator of Xeon Phi?

I am going to offload some computation to Xeon Phi but would like to test different APIs and different apporached to the parallel programming first.

Is there a simulator / emulator for Xeon Phi (either Windows or Linux) ?

like image 818
Boppity Bop Avatar asked Apr 13 '14 12:04

Boppity Bop


2 Answers

In the event that future internet users see this question and wonder about Knights Landing simulation, the Intel SDE (https://software.intel.com/en-us/articles/intel-software-development-emulator) emulates AVX-512.

For the uninitiated, Knights Landing is the official code name for the next-generation of Intel Xeon Phi processor. It is incorrect to assume that Xeon Phi means Knights Corner, any more than it is incorrect to assume that Xeon means Haswell. It's just that there has only been one iteration of Xeon Phi to date.

like image 184
Jeff Hammond Avatar answered Nov 04 '22 17:11

Jeff Hammond


Suitability feature in Intel(R) Advisor XE 2015 Beta (could be "enrolled" for free here) could be used to address your requests. Suitability Beta is specifically capable to:

  • evaluate if Intel® Xeon Phi™ (native or limited support for offload) performance levels can exceed CPU performance peaks for given workload
  • evaluate imbalance, run-time overhead and other performance losses impact depending on parallel APIs, number of threads and loop iteration number/granularity being used

All kinds of given "evaluations" could be done on arbitrary x86 machine (Windows or Linux OS supported). So it's really sort of "emulation". However it's a software-based modeling tool (not traditional hardware simulator or emulator).

Note: given Xeon Phi-specific stuff is only available as "experimental" feature now. Which means that at the moment (as of April 2014) it's still Beta quality and it's still unavailable by default. You will have to set-up experimental variable ADVIXE_EXPERIMENTAL=suitability_xeon_phi_modeling to make it enabled. Usually Advisor Beta experimental features tend to become better quality and more mature later in the year (either in Beta Update or later releases). Given note is not applicable to all other parts of Suitability feature which are not Xeon Phi-specific.

Here is a screen-shot for given Beta Experimental feature GUI look&feel (bold red is mine add-on):

AdvisorXESuitabilityBeta

like image 36
zam Avatar answered Nov 04 '22 16:11

zam