MUDA
Loading...
Searching...
No Matches
field_entry_launch.h
1#pragma once
3#include <muda/ext/field/field_entry_view.h>
5#include <muda/ext/eigen/eigen_core_cxx20.h>
6namespace muda
7{
8class FieldEntryLaunch : public LaunchBase<FieldEntryLaunch>
9{
10 public:
11 MUDA_GENERIC FieldEntryLaunch(cudaStream_t stream = nullptr)
12 : LaunchBase(stream)
13 {
14 }
15
16 /**********************************************************************************************
17 *
18 * EntryView <- EntryView
19 *
20 **********************************************************************************************/
21 template <typename T, FieldEntryLayout DstLayout, FieldEntryLayout SrcLayout, int M, int N>
24
25 /**********************************************************************************************
26 *
27 * EntryView <- Value
28 *
29 * *********************************************************************************************/
30 template <typename T, FieldEntryLayout DstLayout, int M, int N>
32 const typename FieldEntryView<T, DstLayout, M, N>::ElementType& value);
33
34 /**********************************************************************************************
35 *
36 * BufferView <- EntryView
37 *
38 * *********************************************************************************************/
39 template <typename T, FieldEntryLayout SrcLayout, int M, int N>
40 MUDA_HOST FieldEntryLaunch& copy(
41 BufferView<typename CFieldEntryView<T, SrcLayout, M, N>::ElementType> dst,
43
44 /**********************************************************************************************
45 *
46 * EntryView <- BufferView
47 *
48 * *********************************************************************************************/
49 template <typename T, FieldEntryLayout DstLayout, int M, int N>
50 MUDA_HOST FieldEntryLaunch& copy(
52 CBufferView<typename FieldEntryView<T, DstLayout, M, N>::ElementType> src);
53};
54} // namespace muda
55
56#include "details/field_entry_launch.inl"
A view interface for any array-like liner memory, which can be constructed from DeviceBuffer/DeviceVe...
Definition field_entry_view_matrix.inl:110
Definition field_entry_launch.h:9
Definition field_entry_view_matrix.inl:154
Definition launch_base.h:86
A frequently used parallel for loop, DynamicBlockDim and GridStrideLoop strategy are provided,...