blob: ccf679106d04d9de317e6d7101dfbddef482897f [file] [log] [blame]
set(IREE_RUNTIME_SOURCE_DIR "${IREE_SOURCE_DIR}/runtime/src/iree")
iree_cc_library(
NAME
ukernel
HDRS
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/api.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/mmt4d_tile.h"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack_tile.h"
SRCS
"elementwise.c"
"elementwise_impl.c.inc"
"mmt4d_tile.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/mmt4d.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/pack_tile.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/query_tile_sizes.c"
"${IREE_RUNTIME_SOURCE_DIR}/builtins/ukernel/unpack.c"
DEPS
iree::builtins::ukernel::headers
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
)