MimIR
0.5-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
split_apply.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/phase.h
>
4
5
#include "
mim/plug/gpu/gpu.h
"
6
#include "
mim/plug/gpu/phase/split_off_kernels.h
"
7
8
namespace
mim::plug::gpu::phase
{
9
10
class
SplitApply
:
public
RWPhase
{
11
public
:
12
using
RWPhase::RWPhase
;
13
14
void
start
()
final
;
15
16
private
:
17
SplitOffKernels
split_phase{
old_world
(),
"splitoff_kernels_in_split_apply"
};
18
};
19
20
}
// namespace mim::plug::gpu::phase
mim::RWPhase::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim::RWPhase::old_world
World & old_world()
Get old Defs from here.
Definition
phase.h:378
mim::plug::gpu::phase::SplitApply
Definition
split_apply.h:10
mim::plug::gpu::phase::SplitApply::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim::plug::gpu::phase::SplitApply::start
void start() final
Actual entry.
Definition
split_apply.cpp:22
mim::plug::gpu::phase::SplitOffKernels
Afterwards, old_world() is the host, which keeps each kernel as a declaration, and new_world() the de...
Definition
split_off_kernels.h:10
gpu.h
mim::plug::gpu::phase
Definition
lower_map_reduce.h:5
phase.h
split_off_kernels.h
include
mim
plug
gpu
phase
split_apply.h
Generated by
1.18.0