[NFC][opt] Improve help message (#97805)
[llvm-project.git] / offload / DeviceRTL / include / Workshare.h
blobfa9b3b2430b8c4a5be8d73aac8270d03f7b76345
1 //===-------- Workshare.h - OpenMP Workshare interface ------------ 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 //
10 //===----------------------------------------------------------------------===//
12 #ifndef OMPTARGET_WORKSHARE_H
13 #define OMPTARGET_WORKSHARE_H
15 #pragma omp begin declare target device_type(nohost)
17 namespace ompx {
19 namespace workshare {
21 /// Initialize the worksharing machinery.
22 void init(bool IsSPMD);
24 } // namespace workshare
26 } // namespace ompx
28 #pragma omp end declare target
30 #endif