Skip to content

Commit

Permalink
Comment out more check compilation tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Feb 1, 2024
1 parent a8b51f2 commit 3da6a13
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 248 deletions.
286 changes: 143 additions & 143 deletions tests/e2e/stablehlo_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -544,148 +544,148 @@ iree_check_single_backend_test_suite(
# "--iree-codegen-gpu-native-math-precision=true" # TODO(#11321): Infer/flip default
# )

iree_check_single_backend_test_suite(
NAME
check_metal-spirv_metal
SRCS
"abs.mlir"
"add.mlir"
"batch_norm_inference.mlir"
"bitcast_convert.mlir"
"broadcast.mlir"
"broadcast_add.mlir"
"broadcast_in_dim.mlir"
"clamp.mlir"
"compare.mlir"
"complex.mlir"
"concatenate.mlir"
"constant.mlir"
"convert.mlir"
"convolution.mlir"
"cosine.mlir"
"divide.mlir"
"dot.mlir"
"dot_bf16.mlir"
"dot_general.mlir"
"dynamic_slice.mlir"
"dynamic_update_slice.mlir"
"exponential.mlir"
"exponential_fp16.mlir"
"exponential_minus_one.mlir"
"fft.mlir"
"finite.mlir"
"floor.mlir"
"gather.mlir"
"iota.mlir"
"log.mlir"
"log_plus_one.mlir"
"maximum.mlir"
"minimum.mlir"
"multiply.mlir"
"negate.mlir"
"pad.mlir"
"philox.mlir"
"pow.mlir"
"reduce.mlir"
# "reduce_window.mlir" # TODO(15012): fix test crash
"remainder.mlir"
"reshape.mlir"
"reverse.mlir"
"rng_normal.mlir"
"rng_uniform.mlir"
"round.mlir"
"rsqrt.mlir"
"scatter.mlir"
"scatter_dynamic.mlir"
"select.mlir"
"sine.mlir"
"slice.mlir"
"sort.mlir"
"sqrt.mlir"
"subtract.mlir"
"tanh.mlir"
"three_fry.mlir"
"torch_index_select.mlir"
"transpose.mlir"
"while.mlir"
TARGET_BACKEND
"metal-spirv"
DRIVER
"metal"
COMPILER_FLAGS
"--iree-input-type=stablehlo"
)
# iree_check_single_backend_test_suite(
# NAME
# check_metal-spirv_metal
# SRCS
# "abs.mlir"
# "add.mlir"
# "batch_norm_inference.mlir"
# "bitcast_convert.mlir"
# "broadcast.mlir"
# "broadcast_add.mlir"
# "broadcast_in_dim.mlir"
# "clamp.mlir"
# "compare.mlir"
# "complex.mlir"
# "concatenate.mlir"
# "constant.mlir"
# "convert.mlir"
# "convolution.mlir"
# "cosine.mlir"
# "divide.mlir"
# "dot.mlir"
# "dot_bf16.mlir"
# "dot_general.mlir"
# "dynamic_slice.mlir"
# "dynamic_update_slice.mlir"
# "exponential.mlir"
# "exponential_fp16.mlir"
# "exponential_minus_one.mlir"
# "fft.mlir"
# "finite.mlir"
# "floor.mlir"
# "gather.mlir"
# "iota.mlir"
# "log.mlir"
# "log_plus_one.mlir"
# "maximum.mlir"
# "minimum.mlir"
# "multiply.mlir"
# "negate.mlir"
# "pad.mlir"
# "philox.mlir"
# "pow.mlir"
# "reduce.mlir"
# # "reduce_window.mlir" # TODO(15012): fix test crash
# "remainder.mlir"
# "reshape.mlir"
# "reverse.mlir"
# "rng_normal.mlir"
# "rng_uniform.mlir"
# "round.mlir"
# "rsqrt.mlir"
# "scatter.mlir"
# "scatter_dynamic.mlir"
# "select.mlir"
# "sine.mlir"
# "slice.mlir"
# "sort.mlir"
# "sqrt.mlir"
# "subtract.mlir"
# "tanh.mlir"
# "three_fry.mlir"
# "torch_index_select.mlir"
# "transpose.mlir"
# "while.mlir"
# TARGET_BACKEND
# "metal-spirv"
# DRIVER
# "metal"
# COMPILER_FLAGS
# "--iree-input-type=stablehlo"
# )


iree_check_single_backend_test_suite(
NAME
check_rocm-rocm
SRCS
"abs.mlir"
"add.mlir"
"batch_norm_inference.mlir"
"bitcast_convert.mlir"
"broadcast.mlir"
"broadcast_add.mlir"
"broadcast_in_dim.mlir"
"clamp.mlir"
"compare.mlir"
"complex.mlir"
"concatenate.mlir"
"constant.mlir"
"convert.mlir"
"convolution.mlir"
"cosine.mlir"
"divide.mlir"
"dot.mlir"
"dot_bf16.mlir"
"dot_general.mlir"
"dynamic_slice.mlir"
"dynamic_update_slice.mlir"
"exponential.mlir"
"exponential_fp16.mlir"
"exponential_minus_one.mlir"
"fft.mlir"
"finite.mlir"
"floor.mlir"
"gather.mlir"
"iota.mlir"
"log.mlir"
"log_plus_one.mlir"
"maximum.mlir"
"minimum.mlir"
"multiply.mlir"
"negate.mlir"
"pad.mlir"
"philox.mlir"
"pow.mlir"
"reduce.mlir"
"reduce_window.mlir"
"remainder.mlir"
"reshape.mlir"
"reverse.mlir"
"rng_normal.mlir"
"rng_uniform.mlir"
"round.mlir"
"rsqrt.mlir"
"scatter.mlir"
"scatter_dynamic.mlir"
"select.mlir"
"sine.mlir"
"slice.mlir"
"sort.mlir"
"sqrt.mlir"
"subtract.mlir"
"tanh.mlir"
"three_fry.mlir"
"torch_index_select.mlir"
"transpose.mlir"
"while.mlir"
TARGET_BACKEND
"rocm"
# Only test compilation for now, the ROCm driver is experimental.
# DRIVER
# "rocm"
COMPILER_FLAGS
"--iree-input-type=stablehlo"
)
# iree_check_single_backend_test_suite(
# NAME
# check_rocm-rocm
# SRCS
# "abs.mlir"
# "add.mlir"
# "batch_norm_inference.mlir"
# "bitcast_convert.mlir"
# "broadcast.mlir"
# "broadcast_add.mlir"
# "broadcast_in_dim.mlir"
# "clamp.mlir"
# "compare.mlir"
# "complex.mlir"
# "concatenate.mlir"
# "constant.mlir"
# "convert.mlir"
# "convolution.mlir"
# "cosine.mlir"
# "divide.mlir"
# "dot.mlir"
# "dot_bf16.mlir"
# "dot_general.mlir"
# "dynamic_slice.mlir"
# "dynamic_update_slice.mlir"
# "exponential.mlir"
# "exponential_fp16.mlir"
# "exponential_minus_one.mlir"
# "fft.mlir"
# "finite.mlir"
# "floor.mlir"
# "gather.mlir"
# "iota.mlir"
# "log.mlir"
# "log_plus_one.mlir"
# "maximum.mlir"
# "minimum.mlir"
# "multiply.mlir"
# "negate.mlir"
# "pad.mlir"
# "philox.mlir"
# "pow.mlir"
# "reduce.mlir"
# "reduce_window.mlir"
# "remainder.mlir"
# "reshape.mlir"
# "reverse.mlir"
# "rng_normal.mlir"
# "rng_uniform.mlir"
# "round.mlir"
# "rsqrt.mlir"
# "scatter.mlir"
# "scatter_dynamic.mlir"
# "select.mlir"
# "sine.mlir"
# "slice.mlir"
# "sort.mlir"
# "sqrt.mlir"
# "subtract.mlir"
# "tanh.mlir"
# "three_fry.mlir"
# "torch_index_select.mlir"
# "transpose.mlir"
# "while.mlir"
# TARGET_BACKEND
# "rocm"
# # Only test compilation for now, the ROCm driver is experimental.
# # DRIVER
# # "rocm"
# COMPILER_FLAGS
# "--iree-input-type=stablehlo"
# )
Loading

0 comments on commit 3da6a13

Please sign in to comment.