Compiler Topics

Asynchronous Offload - C++ Code Examples


This document provides information about asynchronous data transfer, asynchronous computation and memory management without data transfer. This document includes code examples of common usage scenarios. The examples in this article are in C/C++ only.

Introduction

Two different C++ pragmas are used for data transfer and wait for completion.
The pragma for data transfer only, with asynchronous option is:

  • Developers
  • Linux*
  • C/C++
  • Intermediate
  • Intel® C++ Compiler
  • Intel® Many Integrated Core Architecture
  • Optimization
  • Vectorization
  • Intel Parallel Compute Center MIC Training Resources

    Training Resources for the Intel® Many Integrated Core (Intel MIC Architecture) 

     

    Just getting started with The Intel® Xeon PhiTM Coprocessor and need some help getting started OR are you already developing for Phi but looking for more advanced help?  This is the page for you.

    Bootstrapping

    The first step is to join the MIC/Phi community.  All information related is linked from a central web portal. You need to add this site to your Bookmarks:

  • Developers
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • C/C++
  • Fortran
  • Advanced
  • Beginner
  • Intermediate
  • Phi Training Resources
  • Intel® System Studio 2015 Beta for Linux Hosts Silent Installation Guide

    Intel® System Studio 2015 Beta for Linux Hosts
    "Silent" or non-interactive Installation Instructions

     

    Navigation:

    Linux and Mac OS X Compilers Installation Help Center: /en-us/articles/intel-compilers-linux-installation-help

     

    Contents of this document:

     

  • Developers
  • Android*
  • Linux*
  • Android*
  • C/C++
  • Advanced
  • Beginner
  • Intermediate
  • Intel System Studio 2015 silent installation
  • Development Tools
  • vectorization support: unroll factor set to xxxx

    Vectorization Diagnostic 15144 

    vectorization support: unroll factor set to xxxx

     

    The vectorizer prints this message to tell the user that the loop was unrolled by a factor of xxxx, where xxxx is the unroll level or factor.

    For example:

    program fdiag15144
    implicit none
    integer, parameter :: M=1024
    real :: Dy(M) = 3.124
    real :: Dx(M) = 42.0, Da = .24
    integer :: i
    
      do i = 1 , M
        Dy(i) = Dy(i) + Da*Dx(i)
      end do
    
    end program fdiag15144
    

    And compiling this, we see:

  • Developers
  • Apple OS X*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Fortran
  • Advanced
  • Intermediate
  • Diagnostics
  • Intel(R) Compiler XE 2015 for Linux Installation Aborts with Segmentation Fault

    Problem:  the Intel(R) Compiler XE 2015 for Linux installation aborts with segmentation fault.

     

    During installation of the Intel(R) Parallel Studio XE 2015 for Linux products, the Compiler version 15.0 initial release, Version 15.0.0.090 Build 20140723 the installer aborts with a segmentation fault:

  • Developers
  • Professors
  • Students
  • Linux*
  • C/C++
  • Fortran
  • Advanced
  • Beginner
  • Intermediate
  • installation errors
  • compiler
  • Intel® Composer XE
  • Intel® Compilers for Linux*: Application Porting Guide

    This paper describes application porting when using Intel® Compilers for Linux*. The Intel C/C++ compiler is compatible to the GNU* compilers in terms of source, binary and command-line compatibility. The Intel® C/C++ and Fortran Compilers help make your applications  run at top speed on Intel's platforms, including those based on the IA-32, Intel® 64 and Intel® Xeon Phi architectures. The compilers also provide compatibility with commonly used Linux* software development tools.

  • Developers
  • Partners
  • Professors
  • Students
  • Linux*
  • Code for Good
  • Server
  • C/C++
  • Fortran
  • Advanced
  • Beginner
  • Intermediate
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • Application porting guide
  • Development Tools
  • Intel® Parallel Studio XE 2015 Composer Edition for Linux Silent Installation Guide

    Intel® Parallel Studio XE 2015 Composer Edition for Linux
    "Silent" or non-interactive Installation Instructions

     

    Navigation:

    Linux and Mac OS X Compilers Installation Help Center: /en-us/articles/intel-compilers-linux-installation-help

     

    Contents of this document:

     

  • Developers
  • Linux*
  • C/C++
  • Fortran
  • Advanced
  • Intermediate
  • silent installation
  • Development Tools
  • How Intel® AVX2 Improves Performance on Server Applications

    The latest Intel® Xeon® processor E5 v3 family includes a feature called Intel® Advanced Vector Extensions 2 (Intel® AVX2), which can potentially improve application performance related to high performance computing, databases, and video processing. Here we will explain the context, and provide an example of how using Intel® AVX2 improved performance for a commonly known benchmark.

  • Developers
  • Partners
  • Students
  • Linux*
  • Server
  • Intermediate
  • Intel® C++ Compiler
  • AVX2
  • AVX
  • SSE
  • server
  • High Performance Linpack
  • LINPACK Benchmark
  • Linpack
  • Enterprise
  • Parallel Computing
  • Threading
  • Vectorization
  • Subscribe to Compiler Topics