Skip to content

Commit 7a29239

Browse files
authored
Fix cuda_test (#181)
1 parent 79161f1 commit 7a29239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda/private/macros/cuda_test.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load("//cuda/private:rules/cuda_library.bzl", _cuda_library = "cuda_library")
22

33
def cuda_test(name, **attrs):
44
"""Wrapper to ensure the test is compiled with the CUDA compiler."""
5-
cuda_library_only_attrs = ["deps"]
5+
cuda_library_only_attrs = ["deps", "srcs", "hdrs"]
66

77
# https://bazel.build/reference/be/common-definitions?hl=en#common-attributes-tests
88
cc_test_only_attrs = ["args", "env", "env_inherit", "size", "timeout", "flaky", "shard_count", "local"]

0 commit comments

Comments
 (0)