LvArray
src
umpireInterface.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, Lawrence Livermore National Security, LLC and LvArray contributors.
3
* All rights reserved.
4
* See the LICENSE file for details.
5
* SPDX-License-Identifier: (BSD-3-Clause)
6
*/
7
14
#pragma once
15
16
// TPL includes
17
#include <camp/resource.hpp>
18
19
namespace
LvArray
20
{
21
22
namespace
umpireInterface
23
{
24
33
void
copy
(
void
*
const
dstPointer,
void
*
const
srcPointer, std::size_t
const
size );
34
47
camp::resources::Event
copy
(
void
*
const
dstPointer,
void
*
const
srcPointer,
48
camp::resources::Resource & resource, std::size_t
const
size );
49
58
void
memset(
void
*
const
dstPointer,
int
const
val, std::size_t
const
size );
59
60
}
// namespace umpireInterface
61
}
// namespace LvArray
LvArray::tensorOps::copy
LVARRAY_HOST_DEVICE CONSTEXPR_WITHOUT_BOUNDS_CHECK void copy(DST_VECTOR &&LVARRAY_RESTRICT_REF dstVector, SRC_VECTOR const &LVARRAY_RESTRICT_REF srcVector)
Copy srcVector into dstVector.
Definition:
genericTensorOps.hpp:360
LvArray
The top level namespace.
Definition:
Array.hpp:24
Generated by
1.8.13