@@ -53,6 +53,7 @@ function CTS.benchmark_step(
5353 device:: ClimaComms.AbstractDevice ;
5454 with_cu_prof = :bprofile ,
5555 trace = false ,
56+ crop = false ,
5657)
5758 (; u, p, t, dt, sol, alg) = integrator
5859 (; f) = sol. prob
@@ -66,15 +67,15 @@ function CTS.benchmark_step(
6667 trials₀ = OrderedCollections. OrderedDict ()
6768
6869# ! format: off
69- trials₀[" Wfact" ] = get_trial (wfact_fun (integrator), (W, u, p, dt, t), " Wfact" , device; with_cu_prof, trace);
70- trials₀[" ldiv!" ] = get_trial (LA. ldiv!, (X, W, u), " ldiv!" , device; with_cu_prof, trace);
71- trials₀[" T_imp!" ] = get_trial (implicit_fun (integrator), implicit_args (integrator), " T_imp!" , device; with_cu_prof, trace);
72- trials₀[" T_exp_T_lim!" ] = get_trial (remaining_fun (integrator), remaining_args (integrator), " T_exp_T_lim!" , device; with_cu_prof, trace);
73- trials₀[" lim!" ] = get_trial (f. lim!, (Xlim, p, t, u), " lim!" , device; with_cu_prof, trace);
74- trials₀[" dss!" ] = get_trial (f. dss!, (u, p, t), " dss!" , device; with_cu_prof, trace);
75- trials₀[" post_explicit!" ] = get_trial (f. post_explicit!, (u, p, t), " post_explicit!" , device; with_cu_prof, trace);
76- trials₀[" post_implicit!" ] = get_trial (f. post_implicit!, (u, p, t), " post_implicit!" , device; with_cu_prof, trace);
77- trials₀[" step!" ] = get_trial (SciMLBase. step!, (integrator, ), " step!" , device; with_cu_prof, trace);
70+ trials₀[" Wfact" ] = get_trial (wfact_fun (integrator), (W, u, p, dt, t), " Wfact" , device; with_cu_prof, trace, crop );
71+ trials₀[" ldiv!" ] = get_trial (LA. ldiv!, (X, W, u), " ldiv!" , device; with_cu_prof, trace, crop );
72+ trials₀[" T_imp!" ] = get_trial (implicit_fun (integrator), implicit_args (integrator), " T_imp!" , device; with_cu_prof, trace, crop );
73+ trials₀[" T_exp_T_lim!" ] = get_trial (remaining_fun (integrator), remaining_args (integrator), " T_exp_T_lim!" , device; with_cu_prof, trace, crop );
74+ trials₀[" lim!" ] = get_trial (f. lim!, (Xlim, p, t, u), " lim!" , device; with_cu_prof, trace, crop );
75+ trials₀[" dss!" ] = get_trial (f. dss!, (u, p, t), " dss!" , device; with_cu_prof, trace, crop );
76+ trials₀[" post_explicit!" ] = get_trial (f. post_explicit!, (u, p, t), " post_explicit!" , device; with_cu_prof, trace, crop );
77+ trials₀[" post_implicit!" ] = get_trial (f. post_implicit!, (u, p, t), " post_implicit!" , device; with_cu_prof, trace, crop );
78+ trials₀[" step!" ] = get_trial (SciMLBase. step!, (integrator, ), " step!" , device; with_cu_prof, trace, crop );
7879# ! format: on
7980
8081 trials = OrderedCollections. OrderedDict ()
0 commit comments