blob: 5f7b9f8247f8b4402232ba8fbec6dcc1f1f1d2ba [file] [log] [blame]
sparrow_static_module(
NAME
branch_mul
SRC
"branch_mul.mlir"
FLAGS
"-iree-input-type=tosa"
# NB: iree seems to step on the input tensors
# without this.
"-iree-flow-trace-dispatch-tensors"
EMITC
RVV_OFF
)
sparrow_test(
NAME
branch_mul_emitc_static
SRCS
"branch_mul.c"
DEPS
::branch_mul_emitc
::branch_mul_lib
iree::base
iree::vm::bytecode::module
iree::hal::local::executable_environment
iree::hal::local::elf::elf_module
LINKOPTS
"LINKER:--defsym=__stack_size__=300k"
"LINKER:--defsym=__heap_size__=750k"
"LINKER:--defsym=__tcm_length__=4M"
TESTFILES
"branch_mul.run"
)