1 //===-------- Workshare.h - OpenMP Workshare interface ------------ C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
12 #ifndef OMPTARGET_WORKSHARE_H
13 #define OMPTARGET_WORKSHARE_H
15 #pragma omp begin declare target device_type(nohost)
21 /// Initialize the worksharing machinery.
22 void init(bool IsSPMD
);
24 } // namespace workshare
28 #pragma omp end declare target