Skip to content

Commit

Permalink
fix: add rdc filter to cuda_binary (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan authored Jan 9, 2025
1 parent 7cd8092 commit 4800e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda/private/macros/cuda_binary.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 4800e4b

Please sign in to comment.