From 3ce19bc587f5f4404402340e43a22fb192c17dac Mon Sep 17 00:00:00 2001 From: cloudhan Date: Sun, 16 Jul 2023 23:12:44 +0800 Subject: [PATCH] Fix obvious typo of templates (#131) This is harmless, as fatbinary is not used in nvcc. It is only used when `_wrapper_device_link` is called in clang toolchain. --- cuda/templates/BUILD.local_toolchain_nvcc | 2 +- cuda/templates/BUILD.local_toolchain_nvcc_msvc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda/templates/BUILD.local_toolchain_nvcc b/cuda/templates/BUILD.local_toolchain_nvcc index 4c18136e..d7d130c0 100644 --- a/cuda/templates/BUILD.local_toolchain_nvcc +++ b/cuda/templates/BUILD.local_toolchain_nvcc @@ -10,7 +10,7 @@ load( cuda_toolkit( name = "cuda-toolkit", bin2c = "%{bin2c_label}", - fatbinary = "%{bin2c_label}", + fatbinary = "%{fatbinary_label}", link_stub = "%{link_stub_label}", nvlink = "%{nvlink_label}", path = "%{cuda_path}", diff --git a/cuda/templates/BUILD.local_toolchain_nvcc_msvc b/cuda/templates/BUILD.local_toolchain_nvcc_msvc index 7309e18e..372a44d6 100644 --- a/cuda/templates/BUILD.local_toolchain_nvcc_msvc +++ b/cuda/templates/BUILD.local_toolchain_nvcc_msvc @@ -10,7 +10,7 @@ load( cuda_toolkit( name = "cuda-toolkit", bin2c = "%{bin2c_label}", - fatbinary = "%{bin2c_label}", + fatbinary = "%{fatbinary_label}", link_stub = "%{link_stub_label}", nvlink = "%{nvlink_label}", path = "%{cuda_path}",