@@ -10,7 +10,7 @@ module Rand = Arrayjit.Rand.Lib
1010
1111let hello1 () =
1212 Rand. init 0 ;
13- let module Backend = (val Train . fresh_backend () ) in
13+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
1414 Utils. settings.log_level < - 2 ;
1515 (* Utils.settings.output_debug_files_in_build_directory <- true; *)
1616 let device = Backend. (new_virtual_device @@ get_device ~ordinal: 0 ) in
@@ -27,7 +27,7 @@ let hello1 () =
2727
2828let hello2 () =
2929 Rand. init 0 ;
30- let module Backend = (val Train . fresh_backend () ) in
30+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
3131 Utils. settings.log_level < - 2 ;
3232 (* Utils.settings.output_debug_files_in_build_directory <- true; *)
3333 (* Utils.settings.debug_log_from_routines <- true; *)
@@ -43,7 +43,7 @@ let hello2 () =
4343
4444let hello3 () =
4545 Rand. init 0 ;
46- let module Backend = (val Train . fresh_backend () ) in
46+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
4747 Utils. settings.output_debug_files_in_build_directory < - true ;
4848 (* Utils.settings.debug_log_from_routines <- true; *)
4949 let device = Backend. (new_virtual_device @@ get_device ~ordinal: 0 ) in
@@ -69,7 +69,7 @@ let hello3 () =
6969 Stdlib.Format. force_newline ()
7070
7171let hello4 () =
72- let module Backend = (val Train . fresh_backend () ) in
72+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
7373 let backend = (module Backend : Train.Backend_type with type context = Backend.context ) in
7474 let device = Backend. (new_virtual_device @@ get_device ~ordinal: 0 ) in
7575 let ctx = Backend. init device in
@@ -98,7 +98,7 @@ let hello5 () =
9898 Utils. settings.log_level < - 2 ;
9999 Utils. settings.output_debug_files_in_build_directory < - true ;
100100 Utils. settings.debug_log_from_routines < - true ;
101- let module Backend = (val Train . fresh_backend () ) in
101+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
102102 let backend = (module Backend : Train.Backend_type with type context = Backend.context ) in
103103 let device = Backend. (new_virtual_device @@ get_device ~ordinal: 0 ) in
104104 let ctx = Backend. init device in
@@ -113,7 +113,7 @@ let hello6 () =
113113 Utils. settings.log_level < - 2 ;
114114 Utils. settings.output_debug_files_in_build_directory < - true ;
115115 Utils. settings.debug_log_from_routines < - true ;
116- let module Backend = (val Train . fresh_backend () ) in
116+ let module Backend = (val Arrayjit.Backends . fresh_backend () ) in
117117 let backend = (module Backend : Train.Backend_type with type context = Backend.context ) in
118118 let device = Backend. (new_virtual_device @@ get_device ~ordinal: 0 ) in
119119 let ctx = Backend. init device in
0 commit comments