blob: 4645be964f17999f9be6c7d6b6258b3012b59beb [file] [log] [blame]
################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from #
# tests/e2e/linalg_ext_ops/BUILD.bazel #
# #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary #
# CMake-only content. #
# #
# To disable autogeneration for this file entirely, delete this header. #
################################################################################
iree_add_all_subdirs()
iree_check_single_backend_test_suite(
NAME
check_cuda
SRCS
"attention.mlir"
"reverse.mlir"
"scan.mlir"
"scatter.mlir"
"softmax.mlir"
"sort.mlir"
"top-k.mlir"
TARGET_BACKEND
"cuda"
DRIVER
"cuda"
LABELS
"noasan"
"nomsan"
"notsan"
"noubsan"
"requires-gpu-nvidia"
)
iree_check_single_backend_test_suite(
NAME
check_cuda-topk-split-reduction
SRCS
"top-k.mlir"
TARGET_BACKEND
"cuda"
DRIVER
"cuda"
COMPILER_FLAGS
"--iree-flow-topk-split-reduction=2"
LABELS
"noasan"
"nomsan"
"notsan"
"noubsan"
"requires-gpu-nvidia"
)
iree_check_single_backend_test_suite(
NAME
check_cuda-topk-split-reduction-double
SRCS
"top-k.mlir"
TARGET_BACKEND
"cuda"
DRIVER
"cuda"
COMPILER_FLAGS
"--iree-flow-topk-split-reduction=3,2"
LABELS
"noasan"
"nomsan"
"notsan"
"noubsan"
"requires-gpu-nvidia"
)
# Failing on Emscripten: https://github.com/openxla/iree/issues/12129
if(NOT EMSCRIPTEN)
iree_check_single_backend_test_suite(
NAME
check_llvm-cpu_local-task
SRCS
"attention.mlir"
"reverse.mlir"
"scan.mlir"
"scatter.mlir"
"softmax.mlir"
"sort.mlir"
"top-k.mlir"
"winograd_input.mlir"
"winograd_output.mlir"
TARGET_BACKEND
"llvm-cpu"
DRIVER
"local-task"
)
endif()
iree_check_single_backend_test_suite(
NAME
check_vmvx_local-task
SRCS
"reverse.mlir"
"scan.mlir"
"scatter.mlir"
"sort.mlir"
"top-k.mlir"
TARGET_BACKEND
"vmvx"
DRIVER
"local-task"
)
iree_check_single_backend_test_suite(
NAME
check_vulkan-spirv_vulkan
SRCS
"scatter.mlir"
"sort.mlir"
"winograd_input.mlir"
"winograd_output.mlir"
TARGET_BACKEND
"vulkan-spirv"
DRIVER
"vulkan"
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###