Skip to content
Snippets Groups Projects
Commit 5fb96a38 authored by Aaron Councilman's avatar Aaron Councilman
Browse files

Fix gpu schedule

parent 1dd164a4
No related branches found
No related tags found
1 merge request!208IP SROA Parameters
Pipeline #201961 passed
gvn(*); macro simpl!(X) {
dce(*); ccp(X);
phi-elim(*); simplify-cfg(X);
dce(*); lift-dc-math(X);
crc(*); gvn(X);
dce(*); phi-elim(X);
slf(*); crc(X);
dce(*); slf(X);
dce(X);
infer-schedules(X);
}
let auto = auto-outline(euler); simpl!(*);
gpu(auto.euler); inline(compute_step_factor, compute_flux, compute_flux_contribution, time_step);
inline(auto.euler);
inline(auto.euler);
delete-uncalled(*); delete-uncalled(*);
gpu(copy_vars, compute_step_factor, compute_flux, time_step);
sroa[false](auto.euler); simpl!(*);
dce(*); ip-sroa[true](*);
float-collections(*); sroa[true](*);
dce(*); predication(*);
const-inline(*);
simpl!(*);
fixpoint {
forkify(*);
fork-guard-elim(*);
}
simpl!(*);
no-memset(compute_step_factor@res, compute_flux@res, copy_vars@res);
parallel-reduce(time_step, copy_vars, compute_flux@outer_loop \ compute_flux@inner_loop);
unforkify(*);
float-collections(*);
gcm(*); gcm(*);
gvn(*); macro simpl!(X) {
dce(*); ccp(X);
phi-elim(*); simplify-cfg(X);
dce(*); lift-dc-math(X);
crc(*); gvn(X);
dce(*); phi-elim(X);
slf(*); crc(X);
dce(*); slf(X);
dce(X);
infer-schedules(X);
}
let auto = auto-outline(pre_euler); simpl!(*);
gpu(auto.pre_euler); inline(compute_step_factor, compute_flux, compute_flux_contributions, compute_flux_contribution, time_step);
inline(auto.pre_euler);
inline(auto.pre_euler);
delete-uncalled(*); delete-uncalled(*);
gpu(copy_vars, compute_step_factor, compute_flux_contributions, compute_flux, time_step);
sroa[false](auto.pre_euler); simpl!(*);
dce(*); ip-sroa[true](*);
float-collections(*); sroa[true](*);
dce(*); predication(*);
const-inline(*);
simpl!(*);
fixpoint {
forkify(*);
fork-guard-elim(*);
}
simpl!(*);
unforkify(*);
float-collections(*);
gcm(*); gcm(*);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment