File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,5 @@ let get_stream_device Unimplemented_stream = Unimplemented_device
7070let num_devices () = 0
7171let suggested_num_streams Unimplemented_device = 0
7272let get_ctx_stream Unimplemented_ctx = Unimplemented_stream
73- let get_name Unimplemented_stream : string = failwith " CUDA missing: install cudajit"
7473let to_ordinal _stream = 0
7574let name = " cuda"
Original file line number Diff line number Diff line change @@ -75,8 +75,6 @@ module Multicore (Backend : For_add_scheduler) :
7575 let get_used_memory _device = get_used_memory ()
7676 let is_dev_queue_empty state = Queue. size state.queue = 0
7777 let is_idle stream = is_dev_queue_empty stream.runner.state && stream.runner.state.is_ready
78- let name = " multicore_" ^ name
79- let get_name stream = [% string " %{name}:0:%{stream.stream_id#Int}" ]
8078
8179 let % track3_l_sexp await stream =
8280 assert (Domain. is_main_domain () );
@@ -228,12 +226,10 @@ module Sync (Backend : For_add_scheduler) = struct
228226
229227 let all_work _stream = ()
230228 let is_idle _stream = true
231- let name = " sync_" ^ Backend. name
232229 let await _stream = ()
233230 (* let global_run_no = ref 0 *)
234231
235232 let initialize = Backend. initialize
236233 let is_initialized = Backend. is_initialized
237- let get_name stream = [% string " %{name}:0:%{stream.stream_id#Int}" ]
238234 let schedule_task _stream task = Task. run task
239235end
You can’t perform that action at this time.
0 commit comments