FLANG
include
flang
Runtime
allocator-registry-consts.h
1
//===-- include/flang/Runtime/allocator-registry-consts.h -------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_CONSTS_H_
10
#define FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_CONSTS_H_
11
12
static
constexpr
unsigned
kDefaultAllocator = 0;
13
14
// Allocator used for CUF
15
static
constexpr
unsigned
kPinnedAllocatorPos = 1;
16
static
constexpr
unsigned
kDeviceAllocatorPos = 2;
17
static
constexpr
unsigned
kManagedAllocatorPos = 3;
18
static
constexpr
unsigned
kUnifiedAllocatorPos = 4;
19
20
#endif
/* FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_CONSTS_H_ */
Generated on Thu Apr 24 2025 21:44:35 for FLANG by
1.9.6