Files
clang-p2996/offload/DeviceRTL/include/Workshare.h
Gheorghe-Teodor Bercea 1a478a69bc [OpenMP][offload] Fix dynamic schedule tracking (#97065)
This patch fixes the dynamic schedule tracking.
2024-07-01 10:23:11 -04:00

31 lines
766 B
C++

//===-------- Workshare.h - OpenMP Workshare interface ------------ C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
#ifndef OMPTARGET_WORKSHARE_H
#define OMPTARGET_WORKSHARE_H
#pragma omp begin declare target device_type(nohost)
namespace ompx {
namespace workshare {
/// Initialize the worksharing machinery.
void init(bool IsSPMD);
} // namespace workshare
} // namespace ompx
#pragma omp end declare target
#endif