Intel® oneAPI DPC++/C++ Compiler

Developer Guide and Reference

ID 767253
Date 3/31/2025
Public
Document Table of Contents

qactypes, Qactypes

Determines whether the compiler includes the Algorithmic C (AC) data type folder for header searches and links to the AC data types libraries for Field Programmable Gate Array (FPGA) and CPU compilations.

Syntax

Linux:

-qactypes

-qno-actypes

Windows:

/Qactypes

/Qactypes-

Arguments

None

Default

OFF

The compiler does not search the Algorithmic C (AC) data type folders for headers and doesn’t link to AC data type libraries for FPGA and CPU compilations. As a result, AC data types cannot be used in the source program.

Description

This option determines whether the compiler includes the Algorithmic C (AC) data type folder when searching for headers, and links to the AC data types libraries for Field Programmable Gate Array (FPGA) and CPU compilations.

AC data types provide support for arbitrary precision integers, fixed precision integers and arbitrary precision floating-point data types. They are built on top of the _ExtInt extended-integer type class.

When you specify option [q or Q]actypes, dynamic linking is the default. You cannot link to the AC data type libraries statically.

When option -fintelfpga is used on the command line, option [q or Q]actypes is enabled by default. To override this, specify option -qno-actypes or /Qactypes-, which disables compile and link support for the Algorithmic C data types.

Linux

The driver must add the library names explicitly to the link command. You must use option -qactypes to perform the link to pull in the dependent libraries.

Windows

This option adds directives to the compiled code, which the linker then reads without further input from the driver. You do not need to specify a separate link command.

NOTE:

This option may impact target compilations because of the way it enables headers and libraries.

IDE Equivalent

None

Alternate Options

None

Examples

The following shows examples of using this option.

Linux

icpx -qactypes file.cpp

If -qno-actypes is specified anywhere on the command line, as shown below, it disables AC types:

icpx -fsycl -fintelfpga -qno-actypes file.cpp  
icpx -fsycl -qno-actypes -fintelfpga file.cpp  

Windows

icx /Qactypes file.cpp 
icx /fsycl /fintelfpga /Qactypes- file.cpp     

See Also