Quantcast
Channel: Intel® C++ Compiler
Browsing all 1616 articles
Browse latest View live

access violation when linking with VisualStudio 2012 binary

Hi!I compiled and linked an executable (let's call it blah) against a static library (let's call it asdf) that is built with Intel Composer XE 2013 SP1 Update 3 as well as some other static libraries...

View Article


OpenMP 4.0 target data directive

Hello,I am using the icc v14.0.0 compiler and I would like to use the #pragma omp target data directive as described here:https://software.intel.com/en-us/node/514568I have made a small example program...

View Article


Intel(R) C++ Composer XE 2013 for Windows can not support polymorphism

View Article

OpenMP and Vectorization Problem

 Hi,I am using a simple ikj triple loop to compute a matrix multiplication. The intel compiler icpc (ICC) 14.0.2 20140120 is used.Suppose that in the 2 following cases the number of threads is 1 (one)...

View Article

Detection of a data race in OpenMP

In the following code, there is a data race.I would like to know which compiler option must be turn on in order to see that Intel C++ compiler detects this data race. And what will be the expected...

View Article


Warn on implicit conversion that may change sign of integer value

Hello,when compiling the following codeunsigned int bad_sign_conv(int i) { unsigned int u = i; return u; }with Intel(R) C++ Compiler XE for applications running on IA-32, Version 13.1.3.192 Build...

View Article

Image may be NSFW.
Clik here to view.

Bug : icc14 fails to understand _Pragma when using distcc

It appears that icc14 has a bug where it doesn't understand _Pragma() if you pass in a preprocessed .ii file, see below & attached pragma.cpp file.This breaks distcc builds, as it sends the...

View Article

Cannot locate ICProjConvert

Hello,I want to use Intel complier within a cmake configured project. To achieve this, I am planning to use ICProjConvert but I cannot locate this executable on my system. I have been searching...

View Article


Undefined reference to intel functions

Hi,When I'm trying to compile my code with optimization options(-On, -fast) i receive this messages:some_source.cpp:(.text+0x196b): undefined reference to `__intel_sse2_strlen'...

View Article


Newlines in wide raw strings are not handled correctly

Hi,I'm using the Intel Composer XE 14.0.2.176 on Windows. The compiler does not handle newlines in wide raw strings correctly. For example:const wchar_t* s = LR"({"foo": "bar" })";The memory that s...

View Article

Internal access violation in compiler

Try this: struct X { int i; X(int i) : i(i) {} ~X() {} // This destructor causes access violation in Intel compiler while compiling. };vector f() { // Causes access violation in Intel compiler, if // -...

View Article

Using Intel Compilers for Linux with Ubuntu

Navigation:Linux and Mac OS X Compilers Installation Help Center: /en-us/articles/intel-compilers-linux-installation-helpFirst, determine your needs and get the right installation tarball.  Most linux...

View Article

How to tell icpc to use a different GCC toolchain?

Hello,as a follow-up to my issues with using ICC with GCC 4.9, I now compiled GCC 4.8. How do I now tell ICC to use that? I've tried the -cxxlib=/path/to/gcc-48 switch. But what does it really expect...

View Article


Image may be NSFW.
Clik here to view.

Lower Performance Issue with Intel® AVX than Intel® SSE When Compiling with...

Problem StatementWhen build applications with Intel(R) Compiler, in some cases compiling with -xAVX option will not get a better performance than compiling with the default compiler options, even...

View Article

Missed optimization opportunity

Hey all,I just noticed a missed performance opportunity:#include <cmath> int main() { const double C[2] = { 1., 0. }; double v = C[1] * cos(.42 * argc); return v; }This will call cos even though...

View Article


ICC vs. GCC: Strange scaling behavior of an OpenMP parallelized benchmark

I am currently preparing two benchmarks of a new 240-core E7-x890v2 server. On a 60-core test machine (four sockets with E7-4890v2, HyperThreading and TurboBoost enabled; RHEL 7, Transparent Huge Pages...

View Article

Benchmark problem: ICC compiler option '-xHost' slows down execution speed

While preparing two benchmarks on a 4-socket/60-core Xeon server (E7-4890v2, HyperThreading and TurboBoost enabled; RHEL 7, Transparent Huge Pages activated), cf. topic 515900, I have observed that...

View Article


Image may be NSFW.
Clik here to view.

Applying Vectorization Techniques for B-Spline Surface Evaluation

AbstractIn this paper we analyze relevance of vectorization for evaluation of Non-Uniform Rational B-Spline (NURBS) surfaces broadly used in Computer Aided Design (CAD) industry to describe free-form...

View Article

How to get the Intel C/C++ Linux 12.0.4 compiler

I could use some assistance in figuring out how to purchase the Intel C/C++ Linux 12.0.4 compiler, which is no longer a current version. This is a requirement of some 3rd party software, not my...

View Article

decltype not recognised as type specifier for base-class

The following code compiles fine under clang and gcc but fails for icc (v14.0.2):namespace traits_tests { template<typename> struct sfinae_true : true_type {}; template<typename T> static...

View Article
Browsing all 1616 articles
Browse latest View live


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