blob: 3b7ef93000e87b233637fa336ded7c13cab04dab [file]
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
iree_cc_library(
NAME
bytecode_cache
HDRS
"bytecode_cache.h"
SRCS
"bytecode_cache.cc"
DEPS
iree::base::status
iree::base::tracing
iree::hal::allocator
iree::hal::executable
iree::hal::executable_cache
iree::hal::executable_format
iree::hal::interpreter::bytecode_executable
PUBLIC
)
iree_cc_library(
NAME
bytecode_dispatch
HDRS
"bytecode_dispatch.h"
"bytecode_dispatch_conversion.h"
"bytecode_dispatch_util.h"
SRCS
"bytecode_cache.cc"
"bytecode_dispatch_util.cc"
DEPS
absl::base
absl::inlined_vector
absl::span
iree::base::logging
iree::base::memory
iree::base::status
iree::hal::allocator
iree::hal::buffer_view
iree::hal::heap_buffer
iree::hal::interpreter::bytecode_kernels
iree::rt
iree::schemas::bytecode::interpreter_bytecode_v0
iree::vm::bytecode_reader
iree::vm::bytecode_tables_interpreter
iree::vm::bytecode_util
iree::vm::opcode_info
iree::vm::type
PUBLIC
)
iree_cc_library(
NAME
bytecode_executable
HDRS
"bytecode_executable.h"
SRCS
"bytecode_executable.cc"
DEPS
absl::span
iree::base::status
iree::hal::allocator
iree::hal::executable
iree::hal::executable_spec
iree::hal::interpreter::interpreter_module
iree::rt
iree::vm::bytecode_tables_interpreter
iree::vm::bytecode_validator
PUBLIC
)
iree_cc_library(
NAME
bytecode_kernels
HDRS
"bytecode_kernels.h"
"bytecode_kernels_generic.h"
"bytecode_kernels_ruy.h"
DEPS
absl::algorithm
absl::base
absl::flat_hash_set
absl::inlined_vector
absl::memory
absl::span
iree::base::shape
iree::base::status
iree::hal::buffer_view
ruy
PUBLIC
)
iree_cc_test(
NAME
bytecode_kernels_test
SRCS
"bytecode_kernels_test.cc"
DEPS
gtest_main
iree::base::memory
iree::base::status_matchers
iree::hal::interpreter::bytecode_kernels
)
iree_cc_library(
NAME
interpreter_command_processor
HDRS
"interpreter_command_processor.h"
SRCS
"interpreter_command_processor.cc"
DEPS
absl::inlined_vector
absl::span
flatbuffers
iree::base::status
iree::base::tracing
iree::hal::buffer_view
iree::hal::host::host_local_command_processor
ruy
PUBLIC
)
iree_cc_library(
NAME
interpreter_device
HDRS
"interpreter_device.h"
SRCS
"interpreter_device.cc"
DEPS
absl::inlined_vector
absl::memory
absl::span
iree::base::memory
iree::base::status
iree::base::tracing
iree::hal::command_buffer_validation
iree::hal::command_queue
iree::hal::device
iree::hal::fence
iree::hal::host::async_command_queue
iree::hal::host::host_event
iree::hal::host::host_local_allocator
iree::hal::host::host_submission_queue
iree::hal::host::inproc_command_buffer
iree::hal::interpreter::bytecode_cache
iree::hal::interpreter::bytecode_kernels
iree::hal::interpreter::interpreter_command_processor
PUBLIC
)
iree_cc_library(
NAME
interpreter_driver
HDRS
"interpreter_driver.h"
SRCS
"interpreter_driver.cc"
DEPS
iree::hal::device_info
iree::hal::driver
iree::hal::interpreter::interpreter_device
PUBLIC
)
iree_cc_library(
NAME
interpreter_driver_module
SRCS
"interpreter_driver_module.cc"
DEPS
iree::base::init
iree::base::status
iree::hal::driver_registry
iree::hal::interpreter::interpreter_driver
PUBLIC
)
iree_cc_library(
NAME
interpreter_module
HDRS
"interpreter_module.h"
SRCS
"interpreter_module.cc"
DEPS
absl::span
iree::base::flatbuffer_util
iree::base::status
iree::hal::allocator
iree::hal::buffer_view
iree::hal::interpreter::bytecode_dispatch
iree::hal::interpreter::bytecode_kernels
iree::rt
PUBLIC
)