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

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 Article


Apparent 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 Article


ICC 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 Article

Intel 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 Article

Code 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 Article

How 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 Article


omp_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 Article


Linking 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 Article

icpc 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 Article

Compiler 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 Article


Problem 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

Image may be NSFW.
Clik here to view.

"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 Article


Build 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 Article

C++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 Article


Using 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 Article

crash 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 Article

Intel 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
Browsing all 1175 articles
Browse latest View live


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