blob: eff2b5bfb2c0ae626d59366ea346d5c4c0562d7e [file] [log] [blame]
set(IREE_RUNTIME_SOURCE_DIR "${IREE_SOURCE_DIR}/runtime/src/iree")
iree_cc_library(
NAME
arch
HDRS
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/arch/mmt4d_arch.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/arch/pack_arch.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/arch/query_tile_sizes_arch.h"
SRCS
"mmt4d_arch.c"
"pack_arch.c"
"query_tile_sizes_arch.c"
DEPS
iree::builtins::ukernel::headers
PUBLIC
)
iree_cc_library(
NAME
ukernel
HDRS
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/api.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/mmt4d_generic.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack_generic.h"
SRCS
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/elementwise_generic.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/elementwise_impl.c.inc"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/mmt4d.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/mmt4d_generic.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack_generic.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/query_tile_sizes.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/unpack.c"
DEPS
::arch
PUBLIC
)
iree_cc_library(
NAME
vmvx
HDRS
"${IREE_RUNTIME_SOURCE_DIR}/modules/vmvx/module.h"
TEXTUAL_HDRS
"${IREE_RUNTIME_SOURCE_DIR}/modules/vmvx/exports.inl"
SRCS
"${IREE_RUNTIME_SOURCE_DIR}/modules/vmvx/module.c"
DEFINES
"IREE_HAVE_VMVX_MODULE"
DEPS
::ukernel
PUBLIC
)
iree_cc_library(
NAME
vmvx_module_loader
HDRS
"${IREE_RUNTIME_SOURCE_DIR}/hal/local/loaders/vmvx_module_loader.h"
SRCS
"${IREE_RUNTIME_SOURCE_DIR}/hal/local/loaders/vmvx_module_loader.c"
DEPS
::vmvx
iree::hal::local::executable_loader
iree::vm::bytecode_module
DEFINES
"IREE_HAVE_HAL_EXECUTABLE_LOADER_VMVX_MODULE=1"
PUBLIC
)