-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support coverage when compiling for CUDA. (#4962)
* Support coverage when compiling for CUDA. Passing `--config=cuda` to bazel makes it use a nvc/gcc compiler infrastructure in `@local_config_cuda` that is immune to the `bazel coverage` intervention in coverage flags. Setting those flags manually solves the problem. * Only cover repository files, not external dependencies. * Improve coverage handling * Fix copying coverage when only testing
- Loading branch information
1 parent
6e1b9a2
commit 17d426d
Showing
2 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters