| # Copyright 2021 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| iree_add_all_subdirs() |
| |
| if(${IREE_HAL_DRIVER_EXPERIMENTAL_ROCM}) |
| |
| iree_cc_library( |
| NAME |
| registration |
| HDRS |
| "driver_module.h" |
| SRCS |
| "driver_module.c" |
| DEPS |
| iree::base |
| iree::base::cc |
| iree::base::core_headers |
| iree::base::tracing |
| iree::hal |
| experimental::rocm |
| INCLUDES |
| "${CMAKE_CURRENT_LIST_DIR}/../../.." |
| DEFINES |
| "IREE_HAL_HAVE_EXPERIMENTAL_ROCM_DRIVER_MODULE=1" |
| PUBLIC |
| ) |
| |
| endif() |
| |
| ### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ### |