FLANG
memmove-function.h
1//===-- include/flang/Runtime/CUDA/memmove-function.h -----------*- 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#include <cstddef>
10
11#ifndef FORTRAN_RUNTIME_CUDA_MEMMOVE_FUNCTION_H_
12#define FORTRAN_RUNTIME_CUDA_MEMMOVE_FUNCTION_H_
13
14namespace Fortran::runtime::cuda {
15
16void *MemmoveHostToDevice(void *dst, const void *src, std::size_t count);
17
18void *MemmoveDeviceToHost(void *dst, const void *src, std::size_t count);
19
20void *MemmoveDeviceToDevice(void *dst, const void *src, std::size_t count);
21
22} // namespace Fortran::runtime::cuda
23#endif // FORTRAN_RUNTIME_CUDA_MEMMOVE_FUNCTION_H_