Intel® FPGA SDK for OpenCL™ Pro Edition: Programming Guide

ID 683846
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

A.1.6. Atomic Functions

Section 9 of the OpenCL Specification version 1.0 describes a list of optional features that some OpenCL™ implementations might support. The Intel® FPGA SDK for OpenCL™ supports atomic functions conditionally. The implementation of the supported functions might not conform with the OpenCL Specification Version 1.0.
  • Section 9.5: Atomic Functions for 32-bit Integers—The SDK supports all 32-bit global and local memory atomic functions. The SDK also supports 32-bit atomic functions described in Section 6.11.11 of the OpenCL Specification version 1.1 and Section 6.12.11 of the OpenCL Specification version 1.2.
    • The SDK does not support 64-bit atomic functions described in Section 9.7 of the OpenCL Specification version 1.0.
Attention: The use of atomic functions might lower the performance of your design. The operating frequency of the hardware might decrease further if you implement more than one type of atomic functions (for example, atomic_add and atomic_sub) in the kernel.