From 4800e4b41f760d818b5ff1942aaf2a22a99057b7 Mon Sep 17 00:00:00 2001 From: cloudhan Date: Thu, 9 Jan 2025 23:55:06 +0800 Subject: [PATCH] fix: add rdc filter to cuda_binary (#310) --- cuda/private/macros/cuda_binary.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuda/private/macros/cuda_binary.bzl b/cuda/private/macros/cuda_binary.bzl index 91911b2f..00fea5be 100644 --- a/cuda/private/macros/cuda_binary.bzl +++ b/cuda/private/macros/cuda_binary.bzl @@ -7,7 +7,7 @@ def cuda_binary(name, **attrs): name: A unique name for this target (cc_binary). **attrs: attrs of cc_binary and cuda_library. """ - cuda_library_only_attrs = ["deps", "srcs", "hdrs", "alwayslink"] + cuda_library_only_attrs = ["deps", "srcs", "hdrs", "alwayslink", "rdc"] cuda_library_only_attrs_defaults = { "alwayslink": True, }