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

[bug report] Bug for template deduction?

I am using Intel C++ compiler 15.0 for Windows and there's a simple case that cannot compile.#include class Foo { public: Foo() {} ~Foo() {} void test() const { std::cout << "Hello...

View Article


Windows: CUDA 6.5 and Intel Compiler (2015)?

I've been trying to find an authoritative answer for this, but everything is a few years old.  Can the Intel compiler be used with CUDA 6.5 or 7.0 on Windows / Visual Studio 2013?I did manage to get it...

View Article


Memory leak?

Hi,I have a C++ application which is coded this way:The main program does not need much memory (just a few variables). But this main program runs a loop in which we call a function.This function needs...

View Article

simple vector addition

 Hello,I have a question w.r.t below scenario on Intel Sandy Bridge,For simple vector addition code in C,If I do dynamic memory allocation it vectorizes the main addition loop    C[i] = A[i] + B[i]even...

View Article

Unresolved references in MSVCRT.lib with Visual Studio 2015 RC

I installed Intel Parallel Studio XE 2016 Beta Update 1 with Visual Studio Community 2015 RC and I'm getting unresolved references in MSVCRT.lib when I try to build a default Win32 console project in...

View Article


_mm_unpackhi_epi8 and _mm_unpacklo_epi8 to convert 16 signed chars into 2...

I am using the _mm_unpacklo_epi16 and _mm_unpackhi_epi16 with second argumet vector of 0s to convert signed/unsigned short vectors into 2 signed/unsigned integer vectors. i.e.:__m128i lowVec  =...

View Article

Parallelization of dyadic product

Hi,I have two vectors (they can address the same vector) and I need to perform the product x[i]*y[j] with i,j=1..n.What is the best way to perform this operation in parallel? I've...

View Article

Memory leak caused or worsened by /Qipo?

I've made a DLL while I compile with /Qipo (Intel C++ Composer XE2015). If I call the constructor and destructor of the main class in it, the memory doesn't get released and after a few calls (32 bit...

View Article


Possible compiler bug

There's a possible bug in the icc  installed with Composer XE 2013 SP1 Update 5 (2013.1.5.239). The compiler compiiles the code but the result leads to a run-time crash.Here is a c++ programs that can...

View Article


proc_bind(spread) does not seem to be honored

Hello Folks,I have a program that is decomposed in two parts: One loop that allocates data: it does 4 iterations, one for each socket One loop that does computation on the data, it does 48 iterations...

View Article

CPU2006 compile issues with MSVC 2013, ICC XE 2015 rev 3, windows server 2012

 ICL Version 12.0.3.208 I have compile errors with 2 cpu2006 benchmarks. 483.xalancbmk dies in execution if I compile with -O3 -ipo; it works fine with -O2453.povray says:file...

View Article

debug symbol of binary appeare always w/o debug enable

Hello, My ICC version intel_parallel_studio_xe_2015_update1, trial version.I used following command to compile, icc  -w -fpermissive -fPIE -I. -DMKL_ILP64 -DLINUX  -std=c++11 -g0 -O3  -c xx.cpp -o...

View Article

Compiler bug in XE 2015: error : no instance of function template "..."...

Hi,the following code:#include <tuple> struct Foo { std::tuple<int> inner; template <unsigned Idx> auto get() const -> decltype(std::get<Idx>(inner)) { return...

View Article


Which parallelization library to use for realtime processing?

I'm developing a realtime audio processing software. There may be several (for example even 100) processors at each moment, in several parallel chains. I cannot let the processors cooperate and must...

View Article

integer constant as template parameter problem

Compiling pcl-1.7.2 with intel c++ compiler 15.0.4.221 Build 20150407 on Windows failed with errors related to Eigen-3.2.4. I was able to reduce the problem to the following code snippet. It uses an...

View Article


Empty icl 2015 update 4 fix list

The fixes list for update 4 is empty (no any info about fixes in this update) https://software.intel.com/en-us/articles/intel-composer-xe-2015-compile... 

View Article

Memory latency numbers

Hi,I 've been working on a talk about cache effects. My main document is "What every programmer should know about memory". I've been working on small benchmark that shows the different level of caches...

View Article


icc16: openmp declare reduction : internal error: 20000_0

Hey all,I tried to use the OpenMP declare reduction pragma for an implementation of an array reduction. The code compiles fine using g++ 4.9 and produces correct results. However, using icpc-16.0.038...

View Article

In-class initializer bug, destructors incorrectly called, compiler 2015

I've got a test case where I have a class with 3 subobjects (A, B and C), and the 2nd subobject Bthrows an exception during construction. As I understand C++, the compiler should rewind the...

View Article

cv-qualifier bug

The following code compiles fine with clang and g++ (-std=c++14) but fails with icc 2016: #include <iostream> template<class Derived> struct ConstBase { template<bool T = true> int...

View Article
Browsing all 2797 articles
Browse latest View live


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