forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
turn on -Wall with a few exceptions in Bazel build
Summary: We add the following exceptions: * sign-compare: this is heavily violated in our codebase * unknown-pragmas: we use this intentionally for some loop unrolling in CUDA Because they are included in -Wall by default, we remove the following warnings from our explicit list: * unused-function * unused-variable Test Plan: Rely on CI. Reviewers: alband, seemethere Subscribers: Tasks: Tags: Pull Request resolved: pytorch#79306 Approved by: https://github.com/malfet
- Loading branch information
1 parent
52a5266
commit 70810a3
Showing
2 changed files
with
22 additions
and
4 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