@@ -141,10 +141,11 @@ struct
141141 { stream = parent.stream; parent = Some parent; ctx_arrays; finalized = Atomic. make false }
142142end
143143
144- (* * Parts shared by backend implementations excluding what's already in {!Backend_any_common},
145- except for {!Buffer} which is duplicated for technical reasons. *)
144+ (* * Parts shared by backend implementations excluding what's already in
145+ {!Backend_intf.Backend_any_common}, except for {!Backend_intf.Buffer} which is duplicated for
146+ technical reasons. *)
146147module type Backend_impl_common = sig
147- include Buffer
148+ include Backend_intf. Buffer
148149
149150 val use_host_memory : (unit Ctypes .ptr -> buffer_ptr ) option
150151 (* * If not [None], the backend will read from and write to the host memory directly whenever
@@ -197,10 +198,11 @@ module type No_buffer_retrieval_or_syncing = sig
197198 include Backend_device_common with type buffer_ptr := buffer_ptr
198199
199200 val from_host : dst_ptr :buffer_ptr -> dst :context -> Ndarray .t -> unit
200- (* * Like {!Backend.from_host}, but without synchronization and buffer retrieval. *)
201+ (* * Like {!Backend_intf. Backend.from_host}, but without synchronization and buffer retrieval. *)
201202
202203 val to_host : src_ptr :buffer_ptr -> src :context -> Ndarray .t -> unit
203- (* * Like {!Backend.to_host}, but without synchronization events and buffer retrieval. *)
204+ (* * Like {!Backend_intf.Backend.to_host}, but without synchronization events and buffer retrieval.
205+ *)
204206
205207 val device_to_device :
206208 Tnode .t ->
@@ -210,8 +212,8 @@ module type No_buffer_retrieval_or_syncing = sig
210212 src_ptr :buffer_ptr ->
211213 src :context ->
212214 unit
213- (* * Like {!Backend.device_to_device}, but without synchronization events and buffer retrieval.
214- Raises [Invalid_argument] if [into_merge_buffer = No] and [dst_ptr = None]. *)
215+ (* * Like {!Backend_intf. Backend.device_to_device}, but without synchronization events and buffer
216+ retrieval. Raises [Invalid_argument] if [into_merge_buffer = No] and [dst_ptr = None]. *)
215217end
216218
217219(* * An intermediate stage for converting {!Lowered_no_device_backend} backends into
0 commit comments