chore: import upstream snapshot with attribution
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s

This commit is contained in:
wehub-resource-sync
2026-07-13 12:14:16 +08:00
commit 8a852e4b4e
36502 changed files with 9277225 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
# copybara:uncomment package(default_applicable_licenses = ["//tensorflow:license"])
+28
View File
@@ -0,0 +1,28 @@
# Description:
# OpenCL(TM) API Headers
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
exports_files(["LICENSE"])
cc_library(
name = "opencl_headers",
hdrs = [
"CL/cl.h",
"CL/cl_d3d10.h",
"CL/cl_d3d11.h",
"CL/cl_dx9_media_sharing.h",
"CL/cl_egl.h",
"CL/cl_ext.h",
"CL/cl_ext_intel.h",
"CL/cl_gl.h",
"CL/cl_gl_ext.h",
"CL/cl_platform.h",
"CL/cl_va_api_media_sharing_intel.h",
"CL/cl_version.h",
"CL/opencl.h",
],
includes = ["."],
)
+14
View File
@@ -0,0 +1,14 @@
"""Loads OpenCL-Headers, used by TF Lite."""
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
def repo():
tf_http_archive(
name = "opencl_headers",
# LINT.IfChange
strip_prefix = "OpenCL-Headers-dcd5bede6859d26833cd85f0d6bbcee7382dc9b3",
sha256 = "ca8090359654e94f2c41e946b7e9d826253d795ae809ce7c83a7d3c859624693",
urls = tf_mirror_urls("https://github.com/KhronosGroup/OpenCL-Headers/archive/dcd5bede6859d26833cd85f0d6bbcee7382dc9b3.tar.gz"),
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/opencl_headers.cmake)
build_file = "//third_party/opencl_headers:opencl_headers.BUILD",
)