Preparing the Sample Application
To begin this tutorial, get the source files for the sample application from the Samples directory and set the environment variable to use the compiler. The source files are in an archive file in the...
View ArticlePreparing the Sample Application
To begin this tutorial, copy the file with the source code to a folder where you have write and execute permissions.Copy the directory <install-dir>/Samples/<locale>/C++/gfx_samples/ to a...
View ArticleEstablishing a Performance Baseline
To set a performance baseline for the improvements that follow in this tutorial, build your project with these settings: Select Project > Properties. The project property pages window appears.Select...
View ArticleFinding the Number of Targets
In this step, you find the code section that finds the number of targets.In Solution Explorer, double-click tbo_sort.c.Find the following code:#ifdef __INTEL_OFFLOAD printf(" Checking for Intel(R) Xeon...
View ArticleRunning Guided Auto Parallelism
In this step, you will generate a guided auto parallelism report.In Solution Explorer, open the Source Files folder and right-click on scalar_dep.cpp.Select Intel Compiler > Guided Auto Parallelism...
View Articleexpression must have pointer-to-object type
Following compiles with gcc but fails with Intel compiler, any idea?typedef float __attribute__ ( ( vector_size( 4*sizeof(float) ) ) ) Vec4F; float x(Vec4F const & v){return v[0];}>icpc -v icpc...
View Articleconstant value in a constant expression
The following fails with icc but compiles fine with gcc 4.8. Any idea?>cat foo.cc #include <cmath> constexpr float A_1 = std::pow (1.0,2.0);>icpc -v icpc version 15.0.0 (gcc version 4.8.1...
View ArticleDiagnostic 3609: a dynamic_cast to a handle type must refer to a complete...
Diagnostic message: a dynamic_cast to a handle type must refer to a complete class typeThank you for your interest in this diagnostic message. We are still in the process of documenting this specific...
View ArticleDiagnostic 3593: non-public data members are not allowed in public C++/CX...
Diagnostic message: non-public data members are not allowed in public C++/CX value typesThank you for your interest in this diagnostic message. We are still in the process of documenting this specific...
View ArticleDiagnostic 3577: the 'field' attribute target cannot be used on a non-trivial...
Diagnostic message: the 'field' attribute target cannot be used on a non-trivial property/eventThank you for your interest in this diagnostic message. We are still in the process of documenting this...
View ArticleDiagnostic 3561: expected an operand of real floating-point type (not "type")
Diagnostic message: expected an operand of real floating-point type (not "type")Thank you for your interest in this diagnostic message. We are still in the process of documenting this specific...
View ArticleDiagnostic 3545: the type of entity-kind "entity" ("type") is incompatible...
Diagnostic message: the type of entity-kind "entity" ("type") is incompatible with an ifunc resolver typeThank you for your interest in this diagnostic message. We are still in the process of...
View ArticleDiagnostic 3529: a predefined reduction exists for this type
Diagnostic message: a predefined reduction exists for this typeThank you for your interest in this diagnostic message. We are still in the process of documenting this specific diagnostic.Please let us...
View ArticleDiagnostic 3513: only one arch= target may be specified
Diagnostic message: only one arch= target may be specifiedThank you for your interest in this diagnostic message. We are still in the process of documenting this specific diagnostic.Please let us know...
View ArticleDiagnostic 3497: standard attribute syntax is a C++11 feature
Diagnostic message: standard attribute syntax is a C++11 featureThank you for your interest in this diagnostic message. We are still in the process of documenting this specific diagnostic.Please let...
View ArticleDiagnostic 3481: invalid integer parameter type ("type") for literal...
Diagnostic message: invalid integer parameter type ("type") for literal operator; expected char, wchar_t, char16_t, char32_t, or unsigned long longThank you for your interest in this diagnostic...
View ArticleDiagnostic 3465: invalid qualifier for "type" (a derived class is not allowed...
Diagnostic message: invalid qualifier for "type" (a derived class is not allowed here)Thank you for your interest in this diagnostic message. We are still in the process of documenting this specific...
View ArticleDiagnostic 3449: operation only supported with simd operands that have...
Diagnostic message: operation only supported with simd operands that have floating-point typesThank you for your interest in this diagnostic message. We are still in the process of documenting this...
View ArticleDiagnostic 3433: cannot cancel a worksharing construct with a nowait clause
Diagnostic message: cannot cancel a worksharing construct with a nowait clauseThank you for your interest in this diagnostic message. We are still in the process of documenting this specific...
View ArticleAVX intrinsics _mm256_cvtps_epi32 and _mm256_cvtps_pd mislabeled
In the User and Reference Guide for the Intel® C++ Compiler 15.0, the "Intrinsics for Conversion Operations" section has two intrinsics that are mislabeled: _mm256_cvtps_epi32 is listed as...
View Article