11open Base
2- module Debug_runtime = Utils. Debug_runtime
32module Tn = Tnode
43open Backend_intf
54open Backend_impl
65
7- let _get_local_debug_runtime = Utils. _get_local_debug_runtime
6+ let _get_local_debug_runtime = Utils. get_local_debug_runtime
87
98[%% global_debug_log_level 9 ]
109[%% global_debug_log_level_from_env_var " OCANNL_LOG_LEVEL" ]
@@ -39,7 +38,7 @@ module Add_buffer_retrieval_and_syncing (Backend : No_buffer_retrieval_or_syncin
3938 |> Option. iter ~f: (fun upd_e ->
4039 if not (equal_stream s d || Backend. is_done upd_e) then Backend. will_wait_for dst upd_e)
4140
42- let % track2_l_sexp to_host (ctx : Backend.context ) (tn : Tn.t ) =
41+ let % track2_sexp to_host (ctx : Backend.context ) (tn : Tn.t ) =
4342 match (tn, Map. find ctx.ctx_arrays tn) with
4443 | { Tn. array = (lazy (Some hosted )); _ } , Some src ->
4544 if Tn. potentially_cross_stream tn then
@@ -86,7 +85,7 @@ module Add_buffer_retrieval_and_syncing (Backend : No_buffer_retrieval_or_syncin
8685 (* Note: the previous event does not need to be done! *)
8786 s.updating_for_merge_buffer < - Some (tn, Some e)
8887
89- let % track2_l_sexp from_host (ctx : Backend.context ) tn =
88+ let % track2_sexp from_host (ctx : Backend.context ) tn =
9089 match (tn, Map. find ctx.ctx_arrays tn) with
9190 | { Tn. array = (lazy (Some hosted )); _ } , Some dst ->
9291 wait_for_all ctx ctx.stream.reader_streams tn;
@@ -98,7 +97,7 @@ module Add_buffer_retrieval_and_syncing (Backend : No_buffer_retrieval_or_syncin
9897 true
9998 | _ -> false
10099
101- let % diagn2_l_sexp device_to_device (tn : Tn.t ) ~into_merge_buffer ~(dst : Backend.context )
100+ let % diagn2_sexp device_to_device (tn : Tn.t ) ~into_merge_buffer ~(dst : Backend.context )
102101 ~(src : Backend.context ) =
103102 let ordinal_of ctx = ctx.stream.device.ordinal in
104103 let name_of ctx = Backend. (get_name ctx.stream) in
@@ -139,7 +138,7 @@ module Add_buffer_retrieval_and_syncing (Backend : No_buffer_retrieval_or_syncin
139138
140139 type r = Backend .context routine [@@ deriving sexp_of ]
141140
142- let % track2_l_sexp sync_routine (r : r ) : r =
141+ let % track2_sexp sync_routine (r : r ) : r =
143142 let s = r.context.stream in
144143 let hosted_inputs = Set. filter r.inputs ~f: (fun tn -> Tn. is_hosted_force tn 47 ) in
145144 let pre () =
0 commit comments