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

Memory leak when using offload in Intel HD Graphics 4600

My software using cilk_for occured memory leak.I want to know why memory leaks and how avoid memory leak.Thanks.source code:#include <cilk/cilk.h> #include <iostream> #include...

View Article


pragma offload target(gfx) error

Hi,I installed Intel(R) Parallel Studio XE 2017 for Linux (Ubuntu 14.04) and I'm trying to write a simple C code to test Cilk Plus and specifically the pragma offload. I have a Intel(R) Iris Pro...

View Article


NaN boxing

Hi,     I am designing a class called Dynamic that can store many different types: a null, a boolean, a 48-bit signed integer, a 64-bit floating point, or a pointer to one of a few defined types. This...

View Article

OpenMP detects only a single core on multi-socket/multi-core system

I program in C++ and uses MPI/OpenMP for parallelization. The machine has 2 CPU sockets and 8 cores per each socket. The program additionally uses c++11 threads. Their affinity is controlled by...

View Article

Intel compiler and 'using' for importing constructors

#include <vector> struct A : public std::vector<double> { using std::vector<double>::vector; };compiles fine with g++ and clang, but the Intel compiler [icpc (ICC) 17.0.0 20160720]...

View Article


AVX512: Surprising return types and parameter types

​Hi,​while working with AVX-512, we noticed the following discrepancies:1) Why does _mm256_i64gather_epi64 return an __m128i according to the documentation? We would expect an __m256i. Dash agrees.2)...

View Article

"xilink.exe" exited with code -1073741515

I cannot link any Intel Compiler 17.0 Update 2 library Targets in Visual Studio 2015Both static and dynamic libs fail with the following error"xilink.exe" exited with code -1073741515 1>C:\Program...

View Article

lambda capture [this]

V 17.0.132 Build 20161005I am doing some template meta functions, and have made great progress.... up until now.I have an object (struct), with a member function. I wish to construct a lambda capture...

View Article


Error compiling with Visual Studio 2015 Update 3 and Intel C++ Compiler 17.0

When trying to compile any project with the Intel C++ compiler 17.0, I get 100 compilation errors before the compilation aborts. I have not found any other topic describing the same problems, has...

View Article


Removing Parallel Studio 2017

Hello,I have Parallel Studio 2016 Cluster version installed. As the new 2017 version came out I downloaded to try it out. Of course, it installed itself inside my Visual Studio 2013. After trying it...

View Article

Bug Report: icc 17

Hi,https://godbolt.org/g/lrH8Dystruct A { template <class T> auto func(T t) -> decltype(T::other); }; struct B: A { template <class T> auto func(T t) -> decltype(T::other); using...

View Article

False positive: warning #1125: function ${A} is hidden by function ${B}

struct A { private: virtual void foo() {} // Side-info: template-method pattern in the real code. }; struct B : public A { private: void foo(int) {} }; The warning is stating that A::foo is hidden by...

View Article

Integration between Intel® System Studio Professional Edition and Microsoft...

I have installed on both of my computers Microsoft Visual Studio Ultimate 2013 Version 12.0.40629.00 Update 5 and Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3. I have also...

View Article


C++ and Fortran linking

Hello,I'm trying to link C++ and fortran prorgam together, but I get the following error/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':(.text+0x20): undefined...

View Article

Image may be NSFW.
Clik here to view.

internal error: 010101_14277

Hello,Attached is a (preprocessed) source file that triggers the error.> /opt/intel/compilers_and_libraries/linux/bin/intel64/icpc --version                                                     icpc...

View Article


Issue with O2/O3 optimisation using Intel compiler 2017 update 2

Hello,While trying to compare parallelism between OMP, MPI, Cuda and OpenACC, I've encountered some dangerous behavior using the "Intel ICPC 17.0.2 20170213". The code below is solving the classical...

View Article

compatibility with GCC 5.x and later built-in functions

GCC 5.x and later support built-in functions for overflow checking [1]  that are unsupported by Intel C/C++ in versions including the recently released 2017.0.2.174 / 20170213. This creates issues when...

View Article


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


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