Intel® C++ Compiler

Does Icc 15 contains the offload feature ?

Hi,

I'm running under Linux & Eclipse

I saw a paper that icc 15.0 Beta 2 contains offload feature, and I'm inteding to use the offload feature (#pragma offload target(gfx)).

1. How can I check if the icc15 I have contains this feature ?

2. (How can I be sure that the parallel threads run on the GPU instead of the CPU ?)

3. Does version 15.0 contains the 15.0 Beta 2 ?

Thanks

struggling to vectorize code

Hey everyone, 

 

I'm looking for help about loop vectorization. I'm trying to vectorize and optimize some loop but I don't understand what I'm doing wrong. The compiler can not vectorize because of FLOW and ANTI dependency. I thought I could remove it by doing a change in the code cf. "my attempt code" but this is not working. Can someone explain me why ?

Compilation errors on standard header files in libc++

MacOS 10.10.3, Xcode 6.3.2, Intel Composer 2015 sp 3. Compiling against 10.10 (or 10.9) SDK, including any standard header (such as <algorithm>) that eventually includes cpp_type_traits.h or allocator.h, I get the errors below if the C++ standard library is set to libc++. The errors go away if I use libstdc++:

cpp_type_traits (from OS X 10.10/usr/include/c++/4.2.1/bits/cpp_type_traits.h)

 

line 379:  // For the immediate use, the following is a good approximation.

template<typename _Tp>

使用Edison SDK + chroot 创建高性能应用

英特尔软件技术助力提升性能

英特尔® Edison 是一款功能强大的物联网平台,内置有双核 500MHz 凌动处理器。 部署英特尔软件技术有利于释放该平台更多的潜能。 下图所示为基于 Edison 的对比测 试,测试结果明确表明,使用英特尔优化的通用库和编译器软件技术可带来显著的性能优 势。 是不是迫不及待想在自己的 Edison 上尝试? 请查看 http://software.intel.com/zh-cn/intel-system-studio,并遵循本文的 下列步骤。

 

  • Developers
  • Linux*
  • Yocto Project
  • Internet of Things
  • C/C++
  • Intermediate
  • Intel® System Studio
  • Intel® C++ Compiler
  • Intel® Integrated Performance Primitives
  • IPP
  • TPP
  • icc
  • opencv
  • ISS
  • intel compiler
  • facedetection
  • performance
  • Intel® Atom™ Processors
  • Internet of Things
  • Open Source
  • Optimization
  • valid c++ variadic code causes segfault with icc

    This code compiles fine with gcc and clang, but causes a segfault with icc 2016 (used -std=c++14)

     

    #include <tuple>
    #include <type_traits>
    #include <utility>
    
    template<class... Tx>
    void f(const std::tuple<Tx...>& t,
      std::enable_if_t<Tx() || true, int>... indexes) {
    }
    
    int main() {
      auto t = std::make_tuple(3, 4.0);
      f(t, 1 ,2);
      return 0;
    }
    

     

    Subscribe to Intel® C++ Compiler