We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79161f1 commit 7a29239Copy full SHA for 7a29239
cuda/private/macros/cuda_test.bzl
@@ -2,7 +2,7 @@ load("//cuda/private:rules/cuda_library.bzl", _cuda_library = "cuda_library")
2
3
def cuda_test(name, **attrs):
4
"""Wrapper to ensure the test is compiled with the CUDA compiler."""
5
- cuda_library_only_attrs = ["deps"]
+ cuda_library_only_attrs = ["deps", "srcs", "hdrs"]
6
7
# https://bazel.build/reference/be/common-definitions?hl=en#common-attributes-tests
8
cc_test_only_attrs = ["args", "env", "env_inherit", "size", "timeout", "flaky", "shard_count", "local"]
0 commit comments