Skip to content

Commit a163430

Browse files
committed
Comments in config files: prefixed by ~~; use backend=sync_cc for tests in v0.4; tiny formatting fix
Hopefully, moons_demo_parallel with sync_cc gives the same results across different machines.
1 parent 8ed1bdc commit a163430

File tree

4 files changed

+121
-197
lines changed

4 files changed

+121
-197
lines changed

arrayjit/lib/backends.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,6 @@ let reinitialize (module Backend : Backend) config =
13421342
Backend.unsafe_cleanup ();
13431343
Backend.initialize config)
13441344

1345-
13461345
(** Reinitializes a backend selected via a global [backend] flag. *)
13471346
let fresh_backend ?backend_name ?(config = Physical_devices_only) () =
13481347
let backend =

arrayjit/lib/utils.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ let config_file_args =
103103
in
104104
Stdio.printf "\nWelcome to OCANNL! Reading configuration defaults from %s.\n%!" fname;
105105
config_lines
106+
|> List.filter ~f:(Fn.non @@ String.is_prefix ~prefix:"~~")
106107
|> List.map ~f:(String.split ~on:'=')
107108
|> List.filter_map ~f:(function
108109
| [] -> None

0 commit comments

Comments
 (0)