MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
autogen.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/axm.h
>
4
#include <
mim/plugin.h
>
5
6
/// @namespace mim::plug::gpu @ref gpu
7
namespace
mim
{
8
namespace
plug::gpu
{
9
10
static
constexpr
plugin_t
Plugin_Id
= 0x2115800000000000;
11
12
/// @name %%gpu.addr_space_global
13
///@{
14
enum class
addr_space_global
:
flags_t
{
15
};
16
17
///@}
18
19
/// @name %%gpu.addr_space_shared
20
///@{
21
enum class
addr_space_shared
:
flags_t
{
22
};
23
24
///@}
25
26
/// @name %%gpu.addr_space_const
27
///@{
28
enum class
addr_space_const
:
flags_t
{
29
};
30
31
///@}
32
33
/// @name %%gpu.addr_space_local
34
///@{
35
enum class
addr_space_local
:
flags_t
{
36
};
37
38
///@}
39
40
/// @name %%gpu.GlobalM
41
///@{
42
enum class
GlobalM
:
flags_t
{
43
};
44
45
///@}
46
47
/// @name %%gpu.SharedM
48
///@{
49
enum class
SharedM
:
flags_t
{
50
};
51
52
///@}
53
54
/// @name %%gpu.ConstM
55
///@{
56
enum class
ConstM
:
flags_t
{
57
};
58
59
///@}
60
61
/// @name %%gpu.LocalM
62
///@{
63
enum class
LocalM
:
flags_t
{
64
};
65
66
///@}
67
68
/// @name %%gpu.GlobalPtr
69
///@{
70
enum class
GlobalPtr
:
flags_t
{
71
};
72
73
///@}
74
75
/// @name %%gpu.SharedPtr
76
///@{
77
enum class
SharedPtr
:
flags_t
{
78
};
79
80
///@}
81
82
/// @name %%gpu.ConstPtr
83
///@{
84
enum class
ConstPtr
:
flags_t
{
85
};
86
87
///@}
88
89
/// @name %%gpu.LocalPtr
90
///@{
91
enum class
LocalPtr
:
flags_t
{
92
};
93
94
///@}
95
96
/// @name %%gpu.Stream
97
///@{
98
enum class
Stream
:
flags_t
{
99
};
100
101
///@}
102
103
/// @name %%gpu.DefaultStream
104
///@{
105
enum class
DefaultStream
:
flags_t
{
106
};
107
108
///@}
109
110
/// @name %%gpu.stream_init
111
///@{
112
enum class
stream_init
:
flags_t
{
113
};
114
115
///@}
116
117
/// @name %%gpu.stream_deinit
118
///@{
119
enum class
stream_deinit
:
flags_t
{
120
};
121
122
///@}
123
124
/// @name %%gpu.stream_sync
125
///@{
126
enum class
stream_sync
:
flags_t
{
127
};
128
129
///@}
130
131
/// @name %%gpu.alloc
132
///@{
133
enum class
alloc
:
flags_t
{
134
};
135
136
///@}
137
138
/// @name %%gpu.free
139
///@{
140
enum class
free
:
flags_t
{
141
};
142
143
///@}
144
145
/// @name %%gpu.copy_to_device
146
///@{
147
enum class
copy_to_device
:
flags_t
{
148
};
149
150
///@}
151
152
/// @name %%gpu.copy_to_host
153
///@{
154
enum class
copy_to_host
:
flags_t
{
155
};
156
157
///@}
158
159
/// @name %%gpu.alloc_copy
160
///@{
161
enum class
alloc_copy
:
flags_t
{
162
};
163
164
///@}
165
166
/// @name %%gpu.alloc_async
167
///@{
168
enum class
alloc_async
:
flags_t
{
169
};
170
171
///@}
172
173
/// @name %%gpu.free_async
174
///@{
175
enum class
free_async
:
flags_t
{
176
};
177
178
///@}
179
180
/// @name %%gpu.copy_to_device_async
181
///@{
182
enum class
copy_to_device_async
:
flags_t
{
183
};
184
185
///@}
186
187
/// @name %%gpu.copy_to_host_async
188
///@{
189
enum class
copy_to_host_async
:
flags_t
{
190
};
191
192
///@}
193
194
/// @name %%gpu.alloc_copy_async
195
///@{
196
enum class
alloc_copy_async
:
flags_t
{
197
};
198
199
///@}
200
201
/// @name %%gpu.launch
202
///@{
203
enum class
launch
:
flags_t
{
204
};
205
206
///@}
207
208
/// @name %%gpu.launch_with_smem
209
///@{
210
enum class
launch_with_smem
:
flags_t
{
211
};
212
213
///@}
214
215
/// @name %%gpu.sync_work_items
216
///@{
217
enum class
sync_work_items
:
flags_t
{
218
};
219
220
///@}
221
222
/// @name %%gpu.synced_scope
223
///@{
224
enum class
synced_scope
:
flags_t
{
225
};
226
227
///@}
228
229
/// @name %%gpu.malloc2gpualloc_repl
230
///@{
231
enum class
malloc2gpualloc_repl
:
flags_t
{
232
};
233
234
///@}
235
236
}
// namespace plug::gpu
237
238
#ifndef DOXYGEN
// don't include in Doxygen documentation
239
240
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::addr_space_global>
= 0x2115800000000000;
241
template
<>
constexpr
size_t
Annex::Num<plug::gpu::addr_space_global>
= 0;
242
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::addr_space_shared>
= 0x2115800000000100;
243
template
<>
constexpr
size_t
Annex::Num<plug::gpu::addr_space_shared>
= 0;
244
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::addr_space_const>
= 0x2115800000000200;
245
template
<>
constexpr
size_t
Annex::Num<plug::gpu::addr_space_const>
= 0;
246
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::addr_space_local>
= 0x2115800000000300;
247
template
<>
constexpr
size_t
Annex::Num<plug::gpu::addr_space_local>
= 0;
248
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::GlobalM>
= 0x2115800000000400;
249
template
<>
constexpr
size_t
Annex::Num<plug::gpu::GlobalM>
= 0;
250
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::SharedM>
= 0x2115800000000500;
251
template
<>
constexpr
size_t
Annex::Num<plug::gpu::SharedM>
= 0;
252
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::ConstM>
= 0x2115800000000600;
253
template
<>
constexpr
size_t
Annex::Num<plug::gpu::ConstM>
= 0;
254
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::LocalM>
= 0x2115800000000700;
255
template
<>
constexpr
size_t
Annex::Num<plug::gpu::LocalM>
= 0;
256
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::GlobalPtr>
= 0x2115800000000800;
257
template
<>
constexpr
size_t
Annex::Num<plug::gpu::GlobalPtr>
= 0;
258
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::SharedPtr>
= 0x2115800000000900;
259
template
<>
constexpr
size_t
Annex::Num<plug::gpu::SharedPtr>
= 0;
260
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::ConstPtr>
= 0x2115800000000a00;
261
template
<>
constexpr
size_t
Annex::Num<plug::gpu::ConstPtr>
= 0;
262
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::LocalPtr>
= 0x2115800000000b00;
263
template
<>
constexpr
size_t
Annex::Num<plug::gpu::LocalPtr>
= 0;
264
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::Stream>
= 0x2115800000000c00;
265
template
<>
constexpr
size_t
Annex::Num<plug::gpu::Stream>
= 0;
266
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::DefaultStream>
= 0x2115800000000d00;
267
template
<>
constexpr
size_t
Annex::Num<plug::gpu::DefaultStream>
= 0;
268
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::stream_init>
= 0x2115800000000e00;
269
template
<>
constexpr
size_t
Annex::Num<plug::gpu::stream_init>
= 0;
270
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::stream_deinit>
= 0x2115800000000f00;
271
template
<>
constexpr
size_t
Annex::Num<plug::gpu::stream_deinit>
= 0;
272
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::stream_sync>
= 0x2115800000001000;
273
template
<>
constexpr
size_t
Annex::Num<plug::gpu::stream_sync>
= 0;
274
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::alloc>
= 0x2115800000001100;
275
template
<>
constexpr
size_t
Annex::Num<plug::gpu::alloc>
= 0;
276
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::free>
= 0x2115800000001200;
277
template
<>
constexpr
size_t
Annex::Num<plug::gpu::free>
= 0;
278
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::copy_to_device>
= 0x2115800000001300;
279
template
<>
constexpr
size_t
Annex::Num<plug::gpu::copy_to_device>
= 0;
280
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::copy_to_host>
= 0x2115800000001400;
281
template
<>
constexpr
size_t
Annex::Num<plug::gpu::copy_to_host>
= 0;
282
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::alloc_copy>
= 0x2115800000001500;
283
template
<>
constexpr
size_t
Annex::Num<plug::gpu::alloc_copy>
= 0;
284
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::alloc_async>
= 0x2115800000001600;
285
template
<>
constexpr
size_t
Annex::Num<plug::gpu::alloc_async>
= 0;
286
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::free_async>
= 0x2115800000001700;
287
template
<>
constexpr
size_t
Annex::Num<plug::gpu::free_async>
= 0;
288
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::copy_to_device_async>
= 0x2115800000001800;
289
template
<>
constexpr
size_t
Annex::Num<plug::gpu::copy_to_device_async>
= 0;
290
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::copy_to_host_async>
= 0x2115800000001900;
291
template
<>
constexpr
size_t
Annex::Num<plug::gpu::copy_to_host_async>
= 0;
292
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::alloc_copy_async>
= 0x2115800000001a00;
293
template
<>
constexpr
size_t
Annex::Num<plug::gpu::alloc_copy_async>
= 0;
294
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::launch>
= 0x2115800000001b00;
295
template
<>
constexpr
size_t
Annex::Num<plug::gpu::launch>
= 0;
296
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::launch_with_smem>
= 0x2115800000001c00;
297
template
<>
constexpr
size_t
Annex::Num<plug::gpu::launch_with_smem>
= 0;
298
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::sync_work_items>
= 0x2115800000001d00;
299
template
<>
constexpr
size_t
Annex::Num<plug::gpu::sync_work_items>
= 0;
300
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::synced_scope>
= 0x2115800000001e00;
301
template
<>
constexpr
size_t
Annex::Num<plug::gpu::synced_scope>
= 0;
302
template
<>
constexpr
flags_t
Annex::Base<plug::gpu::malloc2gpualloc_repl>
= 0x2115800000001f00;
303
template
<>
constexpr
size_t
Annex::Num<plug::gpu::malloc2gpualloc_repl>
= 0;
304
305
template
<>
struct
Axm::IsANode
<
plug
::gpu::addr_space_global> {
using
type
=
Axm
; };
306
template
<>
struct
Axm::IsANode<plug::gpu::addr_space_shared> {
using
type
=
Axm
; };
307
template
<>
struct
Axm::IsANode
<
plug
::gpu::addr_space_const> {
using
type
=
Axm
; };
308
template
<>
struct
Axm::IsANode
<
plug
::gpu::addr_space_local> {
using
type
=
Axm
; };
309
template
<>
struct
Axm::IsANode
<
plug
::gpu::GlobalM> {
using
type
=
Axm
; };
310
template
<>
struct
Axm::IsANode
<
plug
::gpu::SharedM> {
using
type
=
Axm
; };
311
template
<>
struct
Axm::IsANode
<
plug
::gpu::ConstM> {
using
type
=
Axm
; };
312
template
<>
struct
Axm::IsANode
<
plug
::gpu::LocalM> {
using
type
=
Axm
; };
313
template
<>
struct
Axm::IsANode
<
plug
::gpu::GlobalPtr> {
using
type
=
Axm
; };
314
template
<>
struct
Axm::IsANode
<
plug
::gpu::SharedPtr> {
using
type
=
Axm
; };
315
template
<>
struct
Axm::IsANode
<
plug
::gpu::ConstPtr> {
using
type
=
Axm
; };
316
template
<>
struct
Axm::IsANode
<
plug
::gpu::LocalPtr> {
using
type
=
Axm
; };
317
template
<>
struct
Axm::IsANode
<
plug
::gpu::Stream> {
using
type
=
Axm
; };
318
template
<>
struct
Axm::IsANode
<
plug
::gpu::DefaultStream> {
using
type
=
Axm
; };
319
template
<>
struct
Axm::IsANode
<
plug
::gpu::alloc_copy> {
using
type
=
Axm
; };
320
template
<>
struct
Axm::IsANode
<
plug
::gpu::alloc_copy_async> {
using
type
=
Axm
; };
321
template
<>
struct
Axm::IsANode
<
plug
::gpu::synced_scope> {
using
type
=
Axm
; };
322
template
<>
struct
Axm::IsANode
<
plug
::gpu::malloc2gpualloc_repl> {
using
type
=
Axm
; };
323
324
#endif
325
}
// namespace mim
326
327
#ifndef DOXYGEN
// don't include in Doxygen documentation
328
329
330
#endif
axm.h
mim::Axm
Definition
axm.h:9
mim::Axm::IsANode::type
App type
Definition
axm.h:65
mim::Axm::IsANode
Definition
axm.h:64
mim::plug::gpu
The gpu Plugin
mim::plug::gpu::LocalPtr
LocalPtr
Definition
autogen.h:91
mim::plug::gpu::addr_space_local
addr_space_local
Definition
autogen.h:35
mim::plug::gpu::addr_space_global
addr_space_global
Definition
autogen.h:14
mim::plug::gpu::stream_init
stream_init
Definition
autogen.h:112
mim::plug::gpu::addr_space_shared
addr_space_shared
Definition
autogen.h:21
mim::plug::gpu::alloc
alloc
Definition
autogen.h:133
mim::plug::gpu::sync_work_items
sync_work_items
Definition
autogen.h:217
mim::plug::gpu::copy_to_host
copy_to_host
Definition
autogen.h:154
mim::plug::gpu::launch_with_smem
launch_with_smem
Definition
autogen.h:210
mim::plug::gpu::ConstPtr
ConstPtr
Definition
autogen.h:84
mim::plug::gpu::GlobalM
GlobalM
Definition
autogen.h:42
mim::plug::gpu::free_async
free_async
Definition
autogen.h:175
mim::plug::gpu::stream_deinit
stream_deinit
Definition
autogen.h:119
mim::plug::gpu::malloc2gpualloc_repl
malloc2gpualloc_repl
Definition
autogen.h:231
mim::plug::gpu::SharedPtr
SharedPtr
Definition
autogen.h:77
mim::plug::gpu::launch
launch
Definition
autogen.h:203
mim::plug::gpu::Stream
Stream
Definition
autogen.h:98
mim::plug::gpu::alloc_async
alloc_async
Definition
autogen.h:168
mim::plug::gpu::alloc_copy
alloc_copy
Definition
autogen.h:161
mim::plug::gpu::Plugin_Id
static constexpr plugin_t Plugin_Id
Definition
autogen.h:10
mim::plug::gpu::free
free
Definition
autogen.h:140
mim::plug::gpu::addr_space_const
addr_space_const
Definition
autogen.h:28
mim::plug::gpu::LocalM
LocalM
Definition
autogen.h:63
mim::plug::gpu::copy_to_device_async
copy_to_device_async
Definition
autogen.h:182
mim::plug::gpu::DefaultStream
DefaultStream
Definition
autogen.h:105
mim::plug::gpu::alloc_copy_async
alloc_copy_async
Definition
autogen.h:196
mim::plug::gpu::synced_scope
synced_scope
Definition
autogen.h:224
mim::plug::gpu::stream_sync
stream_sync
Definition
autogen.h:126
mim::plug::gpu::SharedM
SharedM
Definition
autogen.h:49
mim::plug::gpu::copy_to_device
copy_to_device
Definition
autogen.h:147
mim::plug::gpu::ConstM
ConstM
Definition
autogen.h:56
mim::plug::gpu::GlobalPtr
GlobalPtr
Definition
autogen.h:70
mim::plug::gpu::copy_to_host_async
copy_to_host_async
Definition
autogen.h:189
mim::plug
Definition
lower_for.h:5
mim
Definition
ast.h:14
mim::flags_t
u64 flags_t
Definition
types.h:46
mim::plugin_t
u64 plugin_t
Definition
types.h:47
mim::Node::Axm
@ Axm
Definition
def.h:114
plugin.h
mim::Annex::Num
static constexpr size_t Num
Number of Axm::subtags.
Definition
plugin.h:116
mim::Annex::Base
static constexpr flags_t Base
Definition
plugin.h:117
build
include
mim
plug
gpu
autogen.h
Generated by
1.13.2