xref: /llvm-project/offload/include/Shared/Targets.def.in (revision b07177fb68d396cc9063ac4899e4d67f6765597f)
1//===-- Shared/Targets.def - Target plugin enumerator -----------*- 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// Enumerates over all of the supported target plugins that are available to
10// the offloading library.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef PLUGIN_TARGET
15#  error Please define the macro PLUGIN_TARGET(TargetName)
16#endif
17
18@LIBOMPTARGET_ENUM_PLUGIN_TARGETS@
19
20#undef PLUGIN_TARGET
21