Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Browsing all 2797 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Possible to install Parallel Studio 2011 and Parallel Studio XE 2016 on one PC

Hi staff,I am using Parallel Studio 2011 and Visual Studio 2008. But I'd like to install more Parallel Studio XE 2016 and Visual Studio 2015.First, I've installed Visual Studio 2015. Then, I continue...

View Article


Option Qcheck-pointers-mpx:rw breaks ICC 16.0 with error 010101_0

Hi!I'm trying to build Google Test library with ICC and option -Qcheck-pointers-mpx:rw . Compilation stops with an error:  gtest-all.cc": : error : 010101_0...

View Article


Invalid floating point optimization?

Hello,I have this piece of codeasm("nop"); asm("nop"); asm("nop"); asm("nop"); double const c = a - b; double const d = -c; double const f = d * e; data->field += f; asm("nop"); asm("nop");...

View Article

float to int conversion and autovectorization

I am trying to use Intel C++ Composer XE 2013 to autovectorize a loop.My loop contains a number of float to int conversions that I need to do in round down (toward negative infinity) mode. My initial...

View Article

limits(1120): error #3377: constexpr function return is non-constant

When attempting to use the workaround for the limits(1120): error : identifier "__builtin_nanf" is undefined bug, I'm greeted by the following errors: 0:25.36 C:\Program Files (x86)\Microsoft Visual...

View Article


Location of __assume affects performance

I am using an 8-th order finite difference time stepping function (for 2D acoustic wave equation) shown below.I am observing substantial (up to 25%) performance increase from placing Intel's __assume...

View Article

2016 64bit compiler issue

We have just switched over from Visual Studio 2013 with Intel 2015, to VS 2015 and Intel 2016. We've worked through several issues including ones related to Visual Studio 2015 Update 1.Unfortunately...

View Article

Where is the online documentation for suppressing warnings

 I am looking for the official documentation of how to suppress specific warnings for ICL, for Windows and for Linux. 

View Article


Compilier bug? const std::string is writeable

Hi all,this piece of code is rejected by gcc, however icpc on Linux (tested: v14 and 15)does not complain about using a non-const-iterator / changing a const string,and changes the content of the...

View Article


Image may be NSFW.
Clik here to view.

Incorrect resolution of class in anonymous namespace

HiiWe came across an issue in our Intel (2016) compiler build where it appears separate, but identically named, classes in anonymous namespaces are not being resolved correctly. We've managed to create...

View Article

ICC 2016 upd 1 generates incorrect vectorization code -> CRASH... again...

Ok, so this is the code: /// Integral processing. MNOALIAS MFORCEINLINE ValueType GetFrom01Cubic_Integral(MUINT32 posf) const { // Get the new wavetable index and interpolation coefficient. const int...

View Article

Why does the VS looking for "libmmdd.lib" ?

Hello,I have the following scenario.System : Windows 7, Visual Studio 2012, Intel Parallel Studio XE 2016 Update 1 Composer Edition.Sceneario :Project1.sln                        -              Visual...

View Article

Mixing VC++ compiler and Intel C++ compiler in CMake

Hello all,My project requires different compilers per object.  Currently we do manage this by writing manual makefiles.  We are looking to see if we can migrate to CMake so that its easier to manage...

View Article


How to set the compiler permanently?

As a student, I successfully installed the Intel Parallel Studio XE 2016 Update 1 on the latest Ubuntu Mate in Virtualbox (I know, that the virtualization makes some features not work, but for me...

View Article

error: declaration is incompatible (regparm involved)

hi, i'm trying to build a project (https://github.com/riclas/rstm/) with ICC but i get the following error:libstm/txthread.cpp(138): error: declaration is incompatible with "__attribute((regparm(3)))...

View Article


Documentation for __assume() statement?

I have seen the "__assume()" statement used in Intel examples, such as "__assume(n1%16==0)" used in the recommendations in the article at...

View Article

Source code conventions for optimizing branch prediction?

I have a code for which I know the statistics of a random branch, but I am struggling to understand how to convince the compiler to generate conditional branches of the correct parity for the static...

View Article


Image may be NSFW.
Clik here to view.

[bug report] find_seq_in_lookup_table: seq_number not found

This code causes icpc 16.0.0 (20150815) to report "Internal error loop:  assertion failed: find_seq_in_lookup_table: seq_number not found (shared/cfe/edgcpfe/il.cc, line 3997)// Compile with -std=c++11...

View Article

warning: function was declared but never referenced

Hi, i'm trying to compile my project (https://github.com/riclas/rstm) with ICC but it gives me the following warning, which GCC doesn't:  /home/rfilipe/rstm-icc/libstm/algs/norec.cpp(43): warning...

View Article

How to submit a code sample in Intel DZ forum ?

Dear Collegues, I've got a question that is probably is offtopic for this forum, but, I could not find an appropriate forum to place this question.How to submit a code sample in Intel DZ forum ?...

View Article
Browsing all 2797 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>