Skip to content

Commit

Permalink
[onnx] Enable f64 backends for onnx test suite
Browse files Browse the repository at this point in the history
For `rocm` `cpu` and `cuda` we can support `f64` types for the onnx
backend. It makes more sense to support testing using these types on
backends where it is available.

Signed-off-by: Rob Suderman <[email protected]>
  • Loading branch information
rsuderman committed Jul 31, 2024
1 parent d8d1407 commit 1c223d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"config_name": "cpu_llvm_sync",
"iree_compile_flags": [
"--iree-hal-target-backends=llvm-cpu",
"--iree-input-demote-f64-to-f32"
"--iree-input-demote-f64-to-f32=false"
],
"iree_run_module_flags": [
"--device=local-sync"
Expand Down
2 changes: 1 addition & 1 deletion build_tools/pkgci/external_test_suite/onnx_gpu_cuda.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"config_name": "gpu_cuda_t4",
"iree_compile_flags": [
"--iree-hal-target-backends=cuda",
"--iree-input-demote-f64-to-f32"
"--iree-input-demote-f64-to-f32=false"
],
"iree_run_module_flags": [
"--device=cuda"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"iree_compile_flags": [
"--iree-hal-target-backends=rocm",
"--iree-rocm-target-chip=gfx1100",
"--iree-input-demote-f64-to-f32"
"--iree-input-demote-f64-to-f32=false"
],
"iree_run_module_flags": [
"--device=hip"
Expand Down

0 comments on commit 1c223d8

Please sign in to comment.