| 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 |
//===----------------------------------------------------------------------===// |
| 11 |
|
| 12 |
#ifndef OMPTARGET_WORKSHARE_H |
| 13 |
#define OMPTARGET_WORKSHARE_H |
| 14 |
|
| 15 |
namespace ompx { |
| 16 |
|
| 17 |
namespace workshare { |
| 18 |
|
| 19 |
/// Initialize the worksharing machinery. |
| 20 |
void init(bool IsSPMD); |
| 21 |
|
| 22 |
} // namespace workshare |
| 23 |
|
| 24 |
} // namespace ompx |
| 25 |
|
| 26 |
#endif |