How to optimize a simple loop?
The loop is simplevoid loop(int n, double* a, double const* b) { #pragma ivdep for (int i = 0; i < n; ++i, ++a, ++b) *a *= *b; }I am using intel c++ compiler and using #pragma ivdep for optimization...
View ArticleEvaluation license file?
Hello to all,We have a server with Parallel Studio X without reliable network access (its on a ship). As such, it is impossible to download 3.9GB files.The Parallel Studio XE licensing on the ships...
View Articlexilink error
Hi,after complete new installation of visual studio 2015 and composer 2016 sp1 on a Windows 10 pro I get the following error of xilink:C:\Program Files...
View ArticlePlease suggest me an intel CPU for best performance of my code
My code is quite simplevoid foo(int n, double* a, double* b, double *c, double*d, double* e, double* f, double* g) { for (int i = 0; i < n; ++i) { a[i] = b[i] * a[i] + c[i] * (d[i] + e[i] + f[i] +...
View Articleicl error with msbuild
After installing IntelV16 Update1 and VS2015 Update 1 , my buildprocess is broken when msbuild(14.0.24720) is used .icl complains "icl: : error : option '/Qopt-matmul' not supported", if "Enable Matrix...
View ArticleCan't compile for x64 anymore after applying Parallel Studio 2016 update 1
I was succesfully building several projects with Intel C++ 16.0 Build 10250815 (installed with parallel_studio_xe_2016_setup.exe) for both Win32 and x64 target platforms.After upgrading to the Intel...
View Articleinstallation of trial version of latest version of c/c++ compiler
how i can install the trial version of intel icc compiler in my machine.
View ArticleIntel C++ Compiler internal error: 04010002_15114
Hi everyone,Got error while building MPFR library (mpfr.org) using Intel C++ Compiler. Used stuff: - Windows 10, - Visual Studio 2015 Update 1 with integrated Intel Parallel Studio XE 2016 Update 1, -...
View ArticleCan simd and omp parallel for work together for a loop?
I have a loop, can ivdep, simd and omp parallel for work together for the loop like#pragma ivdep #pragma simd #pragma omp parallel for for(int i = 0; i < n; ++i) { ... // code without data...
View ArticleWhat is the difference between __restrict and restrict?
I check them in my code and find __restrict gives better performance than restrict when used for pointers with intel c++ compiler. I use #pragma omp parallel for and #pragma ivdep for my loop. What is...
View ArticleInternal error: assertion failed at: "shared/cfe/edgcpfe/lower_name.c", line...
Compiling the attached source yields an internal error in shared/cfe/edgcpfe/lower_name.c. This issue is not limited to compilation of pre-processed sources, I've only attached a pre-processed source...
View ArticleFriend declaration for sibling inner class causes warning
The following code causes a bogus warning: ~ > cat /tmp/main.cpp template <typename T> class Parent { class A {}; class B { friend class Parent<T>::A; }; }; ~ > icc -c /tmp/main.cpp...
View ArticleShould we align for SIMD on modern x86?
Hi,I've been working on the usage of aligning arrays to SIMD width on modern x86 CPU. I finally found this piece of code that shows a difference on my computer (Core i7-4850HQ).#include...
View ArticleAlignment of returned address from malloc()
Hi, guys,I am using icc 15.0.2 which is compatible to gcc 4.4.7. Whenever I allocate a memory space with malloc function, the address is aligned by 16 bytes. I know gcc's malloc provides the alignment...
View ArticleOut-of-memory error when compiling a huge project for 32-bit Windows target...
I have a huge project, that needs lots of optimizations, so I use profile guided stuff, which doesn't really improve performance, but smallers the executables quite a bit (from 50MB to 35MB or so)....
View ArticleWhat is "gcc compatibility mode" and how to disable it?
Hello,I am - so far - quite unsuccessful in using icpc 2016 while making boost 1.59.0. I did manage to compile a helloworld program BTW.I am using Linux Mint 17.3My question is: icpc shows ~ $ icpc -v...
View Articlecmake does not find std::nullptr_t
I'm trying to build a library with the Intel compiler using cmake. This library makes use of the std::nullptr_t introduced with C++11. So the cmake scripts check for '-std=c++11' which is present in...
View ArticleProfile guided optimizations do not work at all on OSX
I'm trying to use PGO on OSX and while it works on Windows (only 64-bit though), here I can generate 64-bit executable for profiling, but to perform the profile guided opts then, the compiler returns...
View Articlexblas compile fails tests with intel compiler 2015.3.187
FAILED dot : FAIL/TOTAL = 6/28PASSED sum : FAIL/TOTAL = 0/4FAILED axpby : FAIL/TOTAL = 4/12FAILED waxpby : FAIL/TOTAL = 10/28FAILED gemv : FAIL/TOTAL = 3/28FAILED ge_sum_mv :...
View ArticleInstalling Intel Parallel Studio
Hello,I have been trying to install Intel Parallel Studio XE update 1, but when I put in my serial number I get the message:"Registration failed for unknown reason. Please go...
View Article