1 /*
2  * Copyright (C) 2021 Intel Corporation
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  */
7 
8 #pragma once
9 
10 #include <cstdint>
11 
12 constexpr uint64_t FP_ATOMIC_EXT_FLAG_GLOBAL_LOAD_STORE = 1 << 0; // Supports atomic load, store, and exchange
13 constexpr uint64_t FP_ATOMIC_EXT_FLAG_GLOBAL_ADD = 1 << 1;        // Supports atomic add and subtract
14 constexpr uint64_t FP_ATOMIC_EXT_FLAG_GLOBAL_MIN_MAX = 1 << 2;    // Supports atomic min and max
15 constexpr uint64_t FP_ATOMIC_EXT_FLAG_LOCAL_LOAD_STORE = 1 << 16; // Supports atomic load, store, and exchange
16 constexpr uint64_t FP_ATOMIC_EXT_FLAG_LOCAL_ADD = 1 << 17;        // Supports atomic add and subtract
17 constexpr uint64_t FP_ATOMIC_EXT_FLAG_LOCAL_MIN_MAX = 1 << 18;    // Supports atomic min and max
18