blob: 879629f84ef0cdacea93a3f6fd4b9e671f7c8303 [file] [log] [blame]
################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from #
# tests/e2e/tensor_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_llvm-cpu_local-task
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"pack.mlir"
"pack_dynamic_inner_tiles.mlir"
"pack_i8.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
"unpack.mlir"
TARGET_BACKEND
"llvm-cpu"
DRIVER
"local-task"
COMPILER_FLAGS
"--iree-llvmcpu-target-cpu=generic"
)
iree_check_single_backend_test_suite(
NAME
check_vmvx_local-task
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"pack.mlir"
"pack_dynamic_inner_tiles.mlir"
"pack_i8.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
"unpack.mlir"
TARGET_BACKEND
"vmvx"
DRIVER
"local-task"
)
iree_check_single_backend_test_suite(
NAME
check_vmvx_ukernel_local-task
SRCS
"pack.mlir"
"pack_dynamic_inner_tiles.mlir"
"unpack.mlir"
TARGET_BACKEND
"vmvx"
DRIVER
"local-task"
COMPILER_FLAGS
"--iree-vmvx-enable-microkernels"
"--iree-vmvx-enable-ukernels-decompose-linalg-generic=false"
)
iree_check_single_backend_test_suite(
NAME
check_cuda
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"pack.mlir"
"pack_i8.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
"unpack.mlir"
TARGET_BACKEND
"cuda"
DRIVER
"cuda"
LABELS
"noasan"
"nomsan"
"notsan"
"noubsan"
"requires-gpu-nvidia"
)
iree_check_single_backend_test_suite(
NAME
check_rocm_hip
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"pack.mlir"
"pack_i8.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
"unpack.mlir"
TARGET_BACKEND
"rocm"
DRIVER
"hip"
)
iree_check_single_backend_test_suite(
NAME
check_metal-spirv_metal
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
TARGET_BACKEND
"metal-spirv"
DRIVER
"metal"
)
iree_check_single_backend_test_suite(
NAME
check_vulkan-spirv_vulkan
SRCS
"collapse_shape.mlir"
"concat.mlir"
"expand_shape.mlir"
"extract_slice.mlir"
"tensor_cast.mlir"
"tensor_insert_slice.mlir"
TARGET_BACKEND
"vulkan-spirv"
DRIVER
"vulkan"
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###