page-1-   DISCLAIMER
page-2-   HPMC User Guide
page-3-   Preface

Chapter 1   HPMC Calculator
1-1  HPMC Calculator
             HPMC Calculator

             The MIC

             Cooling the GPU

             The SWITCH


Chapter 2   Xeon Phi MIC
2-1  Configuring the Xeon Phi MIC Coprocessor
             Configuring the Xeon Phi MIC Coprocessor

             Adding the MIC to the Host Network Services

             Configuring the MIC for Bootstrapping

             Configuring the MIC KnightsCorner for Bootstrapping

             Assigning an IP Address to the MIC

             Booting the MIC

             Adding a Swap Space to the MIC

             Adding Users to the MIC

             MIC hostname

             Mount NFS to the MIC

             Enable the MIC mpss Service at Boot

2-2  The MIC Bootstrap Process
             The MIC Bootstrap Process and Building the MIC Boot Image

2-3  Sharing Files Between the Host and the MIC
             Sharing Files Between the Host and the MIC

             The HPMC hostname and its MIC hostname

             The /etc/hosts of the MIC

             Accessing The MIC From Anywhere on Your Network

             Sharing Directories using NFS

2-4  Performance Programming for MIC
             Performance Programming for MIC

             Measuring Practical Gigaflops to the MIC Specification Gigaflops

2-5  DDD - Data Display Debugger for the MIC
             DDD - Data Display Debugger for the MIC

2-6  Programming and Running by MIC Native Loading
             Programming and Running by MIC Native Loading

             Running the OMP Program on the MIC

             MIC Native Loading: micnativeloadex

2-7  Matrix Multiplication Offloading to MIC
             Matrix Multiplication Offloading to MIC

             Interrupt and Stat Activities of a Program Offloaded to MIC

2-8  Measuring Gigaflops for Matrix Multiplication on the MIC
             Measuring Gigaflops for Matrix Multiplication on the MIC

             Measuring Gigaflops for Matrix Multiplication with Single Precision on the MIC

             Measuring Gigaflops for Matrix Multiplication with Double Precision on the MIC


Chapter 3   Computer Organisation of the MIC
3-1  MIC Cores Threads and Cache Organization
             MIC Cores Threads and Cache Organization

             MIC Cores and Cache Memory Organization

3-2  MIC Superscalar Vector Processor - A Programmer View
             MIC Superscalar Vector Processor - A Programmer View

             GDB Scripts for the MIC

             REGISTERS AND 512-bit VECTOR REGISTERS

             VECTOR INSTRUCTIONS

             RUNNING THREADS

             STEPPING

3-3  MIC Vector Operations - A Programmer View
             MIC Vector Operations - A Programmer View

             Vector Operations: vector512.cpp

             Vector Operations on Vector Registers with Four Lanes

             Intrinsic Vector Operations for Addition

             Intrinsic Vector Operations for Summation

             Intrinsic Vector Operations for Multiplication

             Casting Vectorized Data Type

3-4  MIC Architecture Superscalar and Pipelines
             MIC Architecture Superscalar and Pipelines

             MIC's cores VPUs and the Vector Execution Pipelines

             Avoid Mixing Data Type


Chapter 4   CUDA Programming on your HPMC GPU
4-1  System Configuration for the NVIDIA GPU on Your HPMC
             System Configuration for the NVIDIA GPU on Your HPMC

             Adding a Widget to the Group of NVIDIA CUDA Examples

             Adding a NVIDIA Applications to the Panel

             About your HPMC CUDA Device

             Conway's Game of Life on GPU using CUDA

4-2  CUDA Programming for your HPMC GPU
             CUDA Programming for Your HPMC GPU

             Sample CUDA Program

4-3  Measuring Practical Gigaflops for Matrix Multiplication on the GPU
             Measuring Gigaflops for Matrix Multiplication on the GPU

             Measuring Gigaflops for Matrix Multiplication with Double Precision on the GPU

             Measuring Gigaflops for Matrix Multiplication with Single Precision on the GPU

             NVIDIA Profiling with nvvp

4-4  CUDA Fortran
             CUDA Fortran

             FORTRAN Program Calling CUDA to Add Two Vectors

             FORTRAN Program Calling CUDA to Multiply Matrices

4-5  CUDA Application for Your HPMC GPU
             CUDA Application for Your HPMC GPU

             CUDNN with Torch

             nn with PyTorch

4-6  GPU Programming with CAFFE
             GPU Programming with CAFFE

4-7  GPU Programming with Theano
             GPU Programming with Theano

             Theano Example

4-8  QUDA: Accelerated lattice Quantum Chromodynamics Calculations on the GPU
             QUDA - Accelerated lattice Quantum Chromodynamics (LQCD) Calculations on the GPU


Chapter 5   Configuring Infiniband for RDMA
5-1  Configuring Infiniband for RDMA
             Configuring Infiniband for RDMA

             Probe The Infiniband HCA Cards

             Adding the Infiniband to the Network Services

             Check Infiniband Modules and Services

             Query the Infiniband Connectivity

             Query the Infiniband Devices Info

             Display the Network Interface Parameter


Chapter 6   RDMA Over Infiniband Connectivity
6-1  RDMA Over Infiniband Connectivity
             RDMA Over Infiniband Connectivity

             Testing Connectivity with ping

             Testing Connectivity with Iterations Using pingpong

             RDMA WRITE_BW

             RDMA WRITE CPU_UTIL

             RDMA WRITE LATENCY

             Measuring Performance with iperf3 Over Infiniband

             Measuring Performance with iperf3 Over Ethernet

6-2  MPI Programming with Fabric MPIRUN Offloading to MIC
             MPI Programming with Fabric MPIRUN Offloading to MIC

             Offloading to MIC

             Behind the Scene when Offloading to MIC

             DAPL is Provided by the Switch

             Running the MPI Program on Distributed HPMC's MIC

             Running the MPI Program Using One Single Thread

   Appendices

Appendix A   Logging in to the MIC
Appendix B   Troubleshooting the MIC
Appendix C   Troubleshootig the CUDA Configuration
Appendix D   Shared Libraries of an Offloaded Program
Appendix E   Simple OMP Program
Appendix F   MPI Threads and Ranks and Context Switching
Appendix G   dint command to display system interrupts
Appendix H   dcpus command to display the system stats
Appendix I   gpdata3
Appendix J   How to display the system interrupts of your HPMC
Appendix K   How to display the interrupts of the MIC
Appendix L   FLOPS
Appendix M   Installing Torch cuDNN and PyTorch
Appendix N   Historical Perspective on High Performance Switch
Appendix O   Historical Perspective on Multiply Add Fused
Appendix P   Xeon Phi and MIC versus GPU