################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/plugins/target/CUDA/BUILD.bazel                                     #
#                                                                              #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary   #
# CMake-only content.                                                          #
#                                                                              #
# To disable autogeneration for this file entirely, delete this header.        #
################################################################################

iree_add_all_subdirs()

iree_compiler_register_plugin(
  PLUGIN_ID
    hal_target_cuda
  TARGET
    ::CUDA
)

iree_cc_library(
  NAME
    CUDA
  SRCS
    "CUDATarget.cpp"
  DEPS
    LLVMAnalysis
    LLVMBitReader
    LLVMBitWriter
    LLVMCore
    LLVMLinker
    LLVMMC
    LLVMNVPTXCodeGen
    LLVMNVPTXDesc
    LLVMNVPTXInfo
    LLVMPasses
    LLVMSupport
    LLVMTarget
    LLVMipo
    MLIRBuiltinToLLVMIRTranslation
    MLIRGPUDialect
    MLIRLLVMDialect
    MLIRLLVMToLLVMIRTranslation
    MLIRNVGPUDialect
    MLIRNVVMDialect
    MLIRNVVMToLLVMIRTranslation
    MLIRPass
    MLIRSupport
    MLIRTargetLLVMIRExport
    MLIRTransformDialect
    iree::base::internal::flatcc::building
    iree::compiler::Codegen
    iree::compiler::Codegen::Common
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::GPU::TargetUtils::KnownTargets
    iree::compiler::Codegen::LLVMGPU
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::HAL::Target
    iree::compiler::Dialect::HAL::Utils::ExecutableDebugInfoUtils
    iree::compiler::Dialect::HAL::Utils::LLVMLinkerUtils
    iree::compiler::PluginAPI
    iree::compiler::Utils
    iree::schemas::cuda_executable_def_c_fbs
    iree::schemas::executable_debug_info_c_fbs
    iree_cuda::libdevice_embedded
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
