Calling convention (codegen) bug when returning packed struct
HelloI recently came across what seems to be a bug when compiling the following code (designed to reproduce the bug):intel_test.hpp:#pragma once #include <cstdint> #pragma pack(push, 1) struct...
View ArticleApparent IPO compiler bug
I just encountered a very strange compiler (or linker?) bug, thought I should report it here. My description here is what I guess is happening... This is in icl 15.0.2.179 Build 20150121I use a string...
View ArticleICC 17.0.2 rejects valid C++ template function specialization
The following code is rejected with the message test.cpp(19): error: declaration is incompatible with function template "void Foo::bar(Vec<, T>) [with N=0]" (declared at line 11) void...
View ArticleIntel C++ compiler for academic non-commercial use
Hello,about three years ago I could download the Intel Composer XE 2013 for free for academic non-commercial use. Now I can see that only some libraries (MKL, etc.) are free, but I have read in some...
View ArticleCode optimization fails
Hi everyone,I recently ran into an issue I don't understand. I wrote an iterative flow solver that carries out some calculations in each, then calculates a residual and starts over if the residual is...
View Article__builtin_clrsbl undefined
__builtin_clrsb and __builtin_clrsbll exist, but __builtin_clrsbl seems to be missing. Quick test:#include <stdlib.h> #include <stdio.h> int main (void) { printf("int: %d\n",...
View Article__STDC_NO_THREADS__ undefined
ICC defines __STDC_VERSION__ to 201112L, but doesn't define __STDC_NO_THREADS__. glibc doesn't currently support the C11 threads API, so it should be defined (per § 6.10.8.3 of the C11 spec).I know...
View ArticleHow to specify __mm512 to coreside with __mm256 or _mm128
In working with the intrinsics guide, and as for use with AVX512 one of the intrinsics I am wanting to use is__m512d _mm512_broadcastsd_pd(__m128d a)However, I'd like to avoid using a mov to move data...
View Articleomp_get_num_procs() doesn't returns all processor
Hi, I have an application in c++ that is using Qt libraries.When I call omp_get_num_procs() from any part of the program, doesn't return the maximum number of processors that my machine has, so all the...
View ArticleLinking issue with Intel Debug build ...
Hello,I get the following linking error when building a debug build with Intel 16.0 compiler: error LNK2019: unresolved external symbol ___intel_ssse3_strncpy referenced in functionDoes anyone know the...
View Articleicpc HUNGS on small program
Hi!I found icpc from Intel Parallel Studio XE 2017 hungs on my Linux machine compiling my project. For some tries, I reduced my code to the following:#include <list> class Outer { public: class...
View Article_GFX_offload weird behaviour
Hi,I'm targeting Intel Graphics Technology with the API-Based offloading for asynchronous offloading. To begin, I try to offload this algorithm :for (int i = 0; i < size; i++){ A[i] = i; }So I wrote...
View ArticleCompiler doesn't vectorize even with simd directive
I have this function taken from [here][1]: bool interpolate(const Mat &im, float ofsx, float ofsy, float a11, float a12, float a21, float a22, Mat &res) { bool ret = false; // input size (-1...
View ArticleProblem integrate Intel C++ compiler with IDE
Hello,I'm trying to integrate intel c++ compiler with either Xcode or Eclipse on Mac OS. However, neither intel c++ compiler show up in my Xcode build rules settings nor Eclipse extension exist in my...
View Article"typedef double v4df __attribute__((vector_size(32)));" with OpenMP makes...
Hello,"typedef double v4df __attribute__((vector_size(32)));" with OpenMP makes strange output.Please decompress the attached file and do "make, make test", then you will find the following."icpc &...
View ArticleBuild fails using ICC but not GCC
Hi all,I am building ITK from source. I have had the same issue on Centos 7 and Ubuntu 14.04 systems running on Xeon Broadwell systems.Building with GCCWhen I use cmake to configure for a standard...
View ArticleC++14 recursive lambda missing operator()
void foo() { auto bar = [](auto& self) -> void { return self(self); }; bar(bar); } icc 17.0.2 produces the following error:main.cc(3): error: call of an object of a class type without...
View ArticleUsing SVM for Intel Graphics Technology
Hi,I'm writing a benchmark to compare different technologies and their performance accross various platforms (on Linux). One of the platform is an Intel Broadwell-H (Core i7-5775C with integrated GPU...
View Articlecrash using GCC style vector types
I'm seeing a strange compiler crash when using GCC style vector types. I'm using vector types to load/store because using _mm_loadu_si128 to load vectors seems to ignore the restrict qualifier, causing...
View ArticleIntel C++ compiler 2017 MPI 64-bit C++ support
Hey,Is there any way to get 64-bit support for the Intel MPI libraries in 2017 for C++ applications. It used to be part of the 2016 package and it was removed. I need some of the newer features of many...
View Article