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

Using the Intel® C++ Compiler

Using the Intel® C++ Compiler within Visual Studio*Create a Visual C++* project, or open an existing project.In Solution Explorer, select the project(s) to build with Intel® C++ Compiler.In Project>...

View Article


Excluding Source Files from a Build

The following topic applies to Eclipse* for C/C++.To exclude a source file from a build:Right-click a file or folder in the Project Explorer.Select Resource Configurations> Exclude from build. The...

View Article


Understanding File Extensions

Input File ExtensionsThe Intel® C++ Compiler recognizes input files with the extensions listed in the following table:File NameInterpretationActionfile.cC source filePassed to...

View Article

Why does the STL uses size_t and not ptrdiff_t for array indexing ?

Hi, Designing my own array class, I ended up using the ptrdiff_t type for array indexing. The fact that this type is signed make it safer for loops such asfor (ptrdiff_t k = 0; k < v.size() - 1;...

View Article

D

Defines a macro name that can be associated with an optional value.SyntaxLinux OS and OS X:-Dname[=value]Windows OS:/Dname[=value]ArgumentsnameIs the name of the macro.valueIs an optional integer or an...

View Article


Qpchi

Enable precompiled header coexistence to reduce build time.SyntaxLinux OS and OS X:NoneWindows OS:/Qpchi/Qpchi-ArgumentsNoneDefaultONThe compiler enables precompiled header coexistence.DescriptionThis...

View Article

fsource-asm

Produces an assembly listing with source code annotations.SyntaxLinux OS and OS X:-fsource-asmWindows OS:NoneArgumentsNoneDefaultOFFNo source code annotations appear in the assembly listing file, if...

View Article

Fa

Specifies that an assembly listing file should be generated.SyntaxLinux OS and OS X:-Fa[filename|dir]Windows OS:/Fa[filename|dir]ArgumentsfilenameIs the name of the assembly listing file.dirIs the...

View Article


finline-functions

Enables function inlining for single file compilation.SyntaxLinux OS and OS X:-finline-functions-fno-inline-functionsWindows OS:NoneArgumentsNoneDefault-finline-functionsInterprocedural optimizations...

View Article


fp-model, fp

Controls the semantics of floating-point calculations.SyntaxLinux OS and OS X:-fp-modelkeywordWindows OS:/fp:keywordArgumentskeywordSpecifies the semantics to be used. Possible values...

View Article

qopenmp-offload, Qopenmp-offload

Enables or disables OpenMP* offloading compilation for the target pragmas. This option only applies to Intel® MIC Architecture. Option -qopenmp-offload is the replacement option for -openmp-offload,...

View Article

Specifying Alternate Tools and Paths

Use the Qlocation option to specify an alternate path for a tool. This option accepts two arguments using the following syntax:Qlocation Syntax # (Linux* and OS X*)-Qlocation,tool,path #...

View Article

Portability

Parent topic: Compatibility and PortabilityPorting from the Microsoft* Compiler to the Intel® C++ CompilerPorting from GCC* to the Intel® C++ CompilerUnderstanding the 64-bit Data Model used by OS...

View Article


Creating and Using Build Specification Files

Static Analysis is a deprecated feature.Static Analysis is not supported on OS X* systems.If it is difficult to modify your build process to create a new build configuration, then you may need to...

View Article

PGO Tools

Parent topic: Profile-Guided Optimization (PGO)PGO Tools Overviewprofmerge and proforder ToolsUsing Function Order Lists, Function Grouping, Function Ordering, and Data Ordering OptimizationsComparison...

View Article


Working with Enabled and Non-Enabled Modules

The pointer checker is not supported on OS X* systems.An enabled module is a module compiled with the pointer checker option enabled, while a non-enabled module is a module compiled with this compiler...

View Article

OpenMP* Examples

The following examples show how to use several OpenMP* features.A Simple Difference OperatorThis example shows a simple parallel loop where the amount of work in each iteration is different. Dynamic...

View Article


Fast approximate of transcendental operations

Hi,You might know the "Carmack" trick to have a fast and crude approximation of 1/sqrt(x). It isfloat Q_rsqrt( float number ) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y...

View Article

Options: Guided Auto Parallelism dialog box

To access the Guided Auto Parallelism page, select Tools> Options> Intel Compilers and Tools> C++> Guided Auto Parallelism.Use the Guided Auto Parallelism page to specify settings for...

View Article

Using Guided Auto Parallelism in Visual Studio*

The Guided Auto Parallelism (GAP) feature helps you locate portions of your serial code that can be parallelized. When you enable analysis using GAP, the compiler guides you to places in your code...

View Article
Browsing all 1616 articles
Browse latest View live


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