MUDA
Loading...
Searching...
No Matches
kernel_copy_construct.h
1
#pragma once
2
#include <cuda.h>
3
#include <muda/buffer/buffer_fwd.h>
4
5
namespace
muda::details::buffer
6
{
7
// copy construct 0D
8
template
<
typename
T>
9
MUDA_HOST
void
kernel_copy_construct(cudaStream_t stream,
10
VarView<T> dst,
11
CVarView<T> src);
12
13
// copy construct 1D
14
template
<
typename
T>
15
MUDA_HOST
void
kernel_copy_construct(
int
grid_dim,
16
int
block_dim,
17
cudaStream_t stream,
18
BufferView<T> dst,
19
CBufferView<T> src);
20
21
// copy construct 2D
22
template
<
typename
T>
23
MUDA_HOST
void
kernel_copy_construct(
int
grid_dim,
24
int
block_dim,
25
cudaStream_t stream,
26
Buffer2DView<T> dst,
27
CBuffer2DView<T> src);
28
29
// copy construct 3D
30
template
<
typename
T>
31
MUDA_HOST
void
kernel_copy_construct(
int
grid_dim,
32
int
block_dim,
33
cudaStream_t stream,
34
Buffer3DView<T> dst,
35
CBuffer3DView<T> src);
36
}
// namespace muda::details::buffer
37
38
#include "details/kernel_copy_construct.inl"
src
muda
buffer
agent
kernel_copy_construct.h
Generated by
1.9.8