Skip to content

Commit

Permalink
Drop webgpu compilation check tests.
Browse files Browse the repository at this point in the history
(iree-dist packages do not include WebGPU support today)
  • Loading branch information
ScottTodd committed Feb 1, 2024
1 parent a5ed6a3 commit 4091ba7
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 125 deletions.
144 changes: 72 additions & 72 deletions tests/e2e/stablehlo_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,78 +471,78 @@ iree_check_single_backend_test_suite(

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###

iree_check_single_backend_test_suite(
NAME
check_webgpu
SRCS
"abs.mlir"
"add.mlir"
"batch_norm_inference.mlir"
"bitcast_convert.mlir"
"broadcast.mlir"
"broadcast_add.mlir"
"broadcast_in_dim.mlir"
# "clamp.mlir" # TODO(#10906): fix (i8/i16?)
# "compare.mlir" # TODO(#10906): fix (i8/i16?)
# "complex.mlir" # TODO(#11054)
"concatenate.mlir"
"constant.mlir"
# "convert.mlir" # TODO(#10906): fix (i8/i16?)
"convolution.mlir"
"cosine.mlir"
"divide.mlir"
"dot.mlir"
"dot_general.mlir"
"dynamic_slice.mlir"
"dynamic_update_slice.mlir"
"exponential.mlir"
"exponential_fp16.mlir"
"exponential_minus_one.mlir"
# "fft.mlir" # TODO(#9583): fix (fft codegen via spirv)
# "finite.mlir" # TODO(#11321): error: value cannot be represented as 'f32': inf
"floor.mlir"
"gather.mlir"
"iota.mlir"
"log.mlir"
"log_plus_one.mlir"
# "maximum.mlir" # TODO(#10906): fix (i8/i16?)
# "minimum.mlir" # TODO(#10906): fix (i8/i16?)
"multiply.mlir"
"negate.mlir"
"pad.mlir"
# "philox.mlir" # TODO(#12509): WebGPU SPIR-V broken
"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" # TODO(#12509): WebGPU SPIR-V broken
"torch_index_select.mlir"
"transpose.mlir"
# "while.mlir" # TODO(#12509): WebGPU SPIR-V broken
TARGET_BACKEND
"webgpu"
# Only test compilation for now, the WebGPU driver is not stable/tested yet.
# DRIVER
# "webgpu"
COMPILER_FLAGS
"--iree-input-type=stablehlo"
"--iree-codegen-gpu-native-math-precision=true" # TODO(#11321): Infer/flip default
)
# iree_check_single_backend_test_suite(
# NAME
# check_webgpu
# SRCS
# "abs.mlir"
# "add.mlir"
# "batch_norm_inference.mlir"
# "bitcast_convert.mlir"
# "broadcast.mlir"
# "broadcast_add.mlir"
# "broadcast_in_dim.mlir"
# # "clamp.mlir" # TODO(#10906): fix (i8/i16?)
# # "compare.mlir" # TODO(#10906): fix (i8/i16?)
# # "complex.mlir" # TODO(#11054)
# "concatenate.mlir"
# "constant.mlir"
# # "convert.mlir" # TODO(#10906): fix (i8/i16?)
# "convolution.mlir"
# "cosine.mlir"
# "divide.mlir"
# "dot.mlir"
# "dot_general.mlir"
# "dynamic_slice.mlir"
# "dynamic_update_slice.mlir"
# "exponential.mlir"
# "exponential_fp16.mlir"
# "exponential_minus_one.mlir"
# # "fft.mlir" # TODO(#9583): fix (fft codegen via spirv)
# # "finite.mlir" # TODO(#11321): error: value cannot be represented as 'f32': inf
# "floor.mlir"
# "gather.mlir"
# "iota.mlir"
# "log.mlir"
# "log_plus_one.mlir"
# # "maximum.mlir" # TODO(#10906): fix (i8/i16?)
# # "minimum.mlir" # TODO(#10906): fix (i8/i16?)
# "multiply.mlir"
# "negate.mlir"
# "pad.mlir"
# # "philox.mlir" # TODO(#12509): WebGPU SPIR-V broken
# "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" # TODO(#12509): WebGPU SPIR-V broken
# "torch_index_select.mlir"
# "transpose.mlir"
# # "while.mlir" # TODO(#12509): WebGPU SPIR-V broken
# TARGET_BACKEND
# "webgpu"
# # Only test compilation for now, the WebGPU driver is not stable/tested yet.
# # DRIVER
# # "webgpu"
# COMPILER_FLAGS
# "--iree-input-type=stablehlo"
# "--iree-codegen-gpu-native-math-precision=true" # TODO(#11321): Infer/flip default
# )

iree_check_single_backend_test_suite(
NAME
Expand Down
106 changes: 53 additions & 53 deletions tests/e2e/tosa_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,59 +349,59 @@ iree_check_single_backend_test_suite(

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###

iree_check_single_backend_test_suite(
NAME
check_webgpu
SRCS
"abs.mlir"
"add.mlir"
"arithmetic_right_shift.mlir"
"bitwise_and.mlir"
"bitwise_or.mlir"
"bitwise_xor.mlir"
"ceil.mlir"
"clamp.mlir"
"clz.mlir"
"const.mlir"
# "equal.mlir" # TODO(#10906): fix (i8/i16?)
"exp.mlir"
"floor.mlir"
"fully_connected.mlir"
"gather.mlir"
# "greater.mlir" # TODO(#10906): fix (i8/i16?)
# "greater_equal.mlir" # TODO(#10906): fix (i8/i16?)
"if.mlir"
"log.mlir"
"logical_left_shift.mlir"
"logical_right_shift.mlir"
"matmul.mlir"
# "max_pool.mlir" # TODO(#10906): fix (i8/i16?)
"maximum.mlir"
"minimum.mlir"
"mul.mlir"
"mul_shift.mlir"
"negate.mlir"
"pad.mlir"
"reciprocal.mlir"
"reduce.mlir"
"reshape.mlir"
"rsqrt.mlir"
"select.mlir"
"sigmoid.mlir"
"sub.mlir"
# "table.mlir" # TODO(#10906): fix (i8/i16?)
"tanh.mlir"
"transpose.mlir"
# "while.mlir" # TODO(#12509): WebGPU SPIR-V broken
TARGET_BACKEND
"webgpu"
# Only test compilation for now, the WebGPU driver is not stable/tested yet.
# DRIVER
# "webgpu"
COMPILER_FLAGS
"--iree-input-type=tosa"
"--iree-codegen-gpu-native-math-precision=true" # TODO(#11321): Infer/flip default
)
# iree_check_single_backend_test_suite(
# NAME
# check_webgpu
# SRCS
# "abs.mlir"
# "add.mlir"
# "arithmetic_right_shift.mlir"
# "bitwise_and.mlir"
# "bitwise_or.mlir"
# "bitwise_xor.mlir"
# "ceil.mlir"
# "clamp.mlir"
# "clz.mlir"
# "const.mlir"
# # "equal.mlir" # TODO(#10906): fix (i8/i16?)
# "exp.mlir"
# "floor.mlir"
# "fully_connected.mlir"
# "gather.mlir"
# # "greater.mlir" # TODO(#10906): fix (i8/i16?)
# # "greater_equal.mlir" # TODO(#10906): fix (i8/i16?)
# "if.mlir"
# "log.mlir"
# "logical_left_shift.mlir"
# "logical_right_shift.mlir"
# "matmul.mlir"
# # "max_pool.mlir" # TODO(#10906): fix (i8/i16?)
# "maximum.mlir"
# "minimum.mlir"
# "mul.mlir"
# "mul_shift.mlir"
# "negate.mlir"
# "pad.mlir"
# "reciprocal.mlir"
# "reduce.mlir"
# "reshape.mlir"
# "rsqrt.mlir"
# "select.mlir"
# "sigmoid.mlir"
# "sub.mlir"
# # "table.mlir" # TODO(#10906): fix (i8/i16?)
# "tanh.mlir"
# "transpose.mlir"
# # "while.mlir" # TODO(#12509): WebGPU SPIR-V broken
# TARGET_BACKEND
# "webgpu"
# # Only test compilation for now, the WebGPU driver is not stable/tested yet.
# # DRIVER
# # "webgpu"
# COMPILER_FLAGS
# "--iree-input-type=tosa"
# "--iree-codegen-gpu-native-math-precision=true" # TODO(#11321): Infer/flip default
# )

iree_check_single_backend_test_suite(
NAME
Expand Down

0 comments on commit 4091ba7

Please sign in to comment.