Skip to content

Commit 07821ad

Browse files
committed
Temporary experiment: maybe the backend test setting not read
Maybe the slightly different outputs for moons_demo_parallel on some CI targets are because the test config file is not read properly (sync_cc).
1 parent 9d4ad08 commit 07821ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arrayjit/lib/backends.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ let fresh_backend ?backend_name ?(config = Physical_devices_only) () =
13471347
let backend =
13481348
match
13491349
Option.value_or_thunk backend_name ~default:(fun () ->
1350-
Utils.get_global_arg ~arg_name:"backend" ~default:"pipes_cc")
1350+
Utils.get_global_arg ~arg_name:"backend" ~default:"sync_cc")
13511351
|> String.lowercase
13521352
with
13531353
| "cc" -> (module Cc_backend : Backend)

arrayjit/lib/rand.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Random_for_tests = struct
2727
let int high = Int32.(to_int_trunc @@ (rand_int32 () % of_int_trunc high))
2828
end
2929

30-
let random_config = Utils.get_global_arg ~arg_name:"randomness_lib" ~default:"stdlib"
30+
let random_config = Utils.get_global_arg ~arg_name:"randomness_lib" ~default:"for_tests"
3131

3232
let random_lib =
3333
match random_config with

0 commit comments

Comments
 (0)