Files
Ivan R. Ivanov 34d6a1887f [offload][acc] Add the initial version of libacctarget (#231174)
Adds the initial version of the OpenACC runtime library libacctarget.
This
version currently only makes sure everything links correctly and there
are no
undefined symbols and that the initialization of the PluginManager works
correctly. The implementation will follow in incremental patches.
2026-11-03 11:03:41 +01:00

21 lines
802 B
C++

//===- Interface.cpp --------------------------------------------*- 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
//
//===----------------------------------------------------------------------===//
//
// Implementation of the interface to be used by compilers to interact with the
// runtime. Signatures must match
// mlir/include/mlir/Dialect/OpenACC/OpenACCRuntimeFunctions.def.
//
//===----------------------------------------------------------------------===//
#include "Interface.h"
#include "RuntimeState.h"
EXTERN void __tgt_acc_rtl_init() { initAccRuntime(); }
EXTERN void __tgt_acc_rtl_deinit() { deinitAccRuntime(); }