MimIR
MimIR is my Intermediate Representation
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"
7
8namespace mim::plug::gpu::phase {
9
10class SplitApply : public RWPhase {
11public:
12 using RWPhase::RWPhase;
13
14 void start() final;
15
16private:
17 SplitOffKernels split_phase{old_world(), "splitoff_kernels_in_split_apply"};
18};
19
20} // namespace mim::plug::gpu::phase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:334
World & old_world()
Get old Defs from here.
Definition phase.h:378
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:334
void start() final
Actual entry.
Afterwards, old_world() is the host, which keeps each kernel as a declaration, and new_world() the de...