Red Hat ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE Technical Information Seite 1

Stöbern Sie online oder laden Sie Technical Information nach Nein Red Hat ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE herunter. Red Hat ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE System information [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Intel® Xeon Phi™ Coprocessor

White Paper Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE Version 1.5

Seite 2 - Contents

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 10 3. Verify that the card is working by running a sample program (located i

Seite 3

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 11 3. Update the flash on your card(s) as detailed in section 7.2 of readme.txt 4. Rebo

Seite 4 - Introduction

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 12 sudo micctrl -w sudo /opt/intel/mic/bin/micinfo If the Intel® MPSS service is

Seite 5 - System Configuration

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 13 coprocessor were installed, it would be called “mic1” and located at 172.31.2.1, and i

Seite 6

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 14 Development Environment: Available Compilers and Libraries  Compilers o Intel C++ C

Seite 7

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 15 o Intel TBB: /opt/intel/composerxe/tbb/bin/tbbvars.csh or tbbvars.sh with intel64 as

Seite 8 - Administrative Tasks

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 16 • Some sample offload code using the explicit memory copy model can be found in: o C

Seite 9

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 17 For csh – setenv H_TRACE 2 For sh – export H_TRACE=2  To print the compiler’s intern

Seite 10 - Updating an Existing System

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 18 Host Version: The following sample code shows the C code to implement this version of

Seite 11 - EVELOPER’S QUICK START GUIDE

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 19 Vector Reduction with Offload Each core on the Intel® Xeon Phi™ Coprocessor has a VPU

Seite 12

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 2 Contents Introduction ...

Seite 13 - Useful Administrative Tools

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 20 APIs for Dynamic Aligned Shared memory allocation void *_Offload_shared_aligned_malloc

Seite 14

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 21 Code Example 4: Using the “_Cilk_shared” and “_Cilk_offload” Keywords with Dynamic All

Seite 15

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 22 ulimit –s unlimited 7. Go to /tmp and run a.out: cd /tmp ./a.out Parallel Programm

Seite 16

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 23 } } return ret; } Code Example 5: C/C++: Using OpenMP in Offloaded Re

Seite 17 - Reduction

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 24 } return ret; } Code Example 7: Array Reduction Using Open MP and Intel® Cilk™

Seite 18 - Creating the Offload Version

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 25 Code Example 10: Wrapping the Intel TBB Header Files in C/C++ Functions called from

Seite 19

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 26 Code Example 12: Prefixing an Intel TBB Function for Intel® MIC Architecture code gene

Seite 20

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 27 Step 2: Send the data over to the Intel® Xeon Phi™ Coprocessor using #pragma offl

Seite 21 - Native Compilation

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 28 out(C:length(matrix_elements) alloc_if(0) free_if(0)) // output data {

Seite 22

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 29 About the Authors Sudha Udanapalli Thiagarajan received a Bachelor’s degree in Comput

Seite 23 - Extended Array Notation

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 3 Asynchronous Offload and Data Transfer ...

Seite 24 - (Intel® TBB)

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 30 Notices INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO

Seite 25

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 31 Performance Notice For more complete information about performance and benchmark resul

Seite 26 - Using Intel

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 4 Introduction This document will help you get started writing code and running applicati

Seite 27

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 5 NAcc – Native Acceleration – a mode or form of Intel® MKL in which the data being proce

Seite 28

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 6  Device Driver: At the bottom of the software stack in kernel space is the Intel® Xe

Seite 29 - About the Authors

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 7 Intel® Many Integrated Core Architecture Overview The Intel® Xeon Phi™ Coprocessor

Seite 30 - Notices

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 8 Administrative Tasks If you purchased the Intel® Xeon Phi™ Coprocessor from an equipmen

Seite 31 - Optimization Notice

Intel® Xeon Phi™ Coprocessor DEVELOPER’S QUICK START GUIDE 9  Make sure that the Driver Version, MPSS Version and Flash Version are verified accor

Kommentare zu diesen Handbüchern

Keine Kommentare