blob: 74a3d7273e0e7eb8640e7f26fb82f94f56ba4ce8 [file]
# Copyright 2026 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
# AMDGPU device library bitcode files fetched from the official ROCm package
# pinned in rocm_package.json. These are linked into ROCM/HIP executables by
# iree-compile at hal-executable compilation time.
#
# Bundled as an iree_directory (TreeArtifact) because iree-compile expects
# --iree-rocm-bc-dir to point at a directory, not individual files.
load("@iree_core//build_tools/bazel:iree_directory.bzl", "iree_directory")
package(default_visibility = ["//visibility:public"])
iree_directory(
name = "bitcode",
srcs = [
"ockl.bc",
"ocml.bc",
],
)