[cuDNN][cuDNN V8 API] Always build assuming cuDNN >= 8.0 (#91527)

We've been building with V8 (incl. V8 API) by default for a while now; this PR cleans up some guards for cuDNN < 8.0.

CC @ptrblck @ngimel
Pull Request resolved: https://github.com/pytorch/pytorch/pull/91527
Approved by: https://github.com/ngimel
This commit is contained in:
Eddie Yan
2023-01-13 18:55:37 +00:00
committed by PyTorch MergeBot
parent 4d26903739
commit 4d07ad74f1
23 changed files with 30 additions and 154 deletions

View File

@ -203,6 +203,12 @@ new_local_repository(
path = "/usr/",
)
new_local_repository(
name = "cudnn_frontend",
build_file = "@//third_party:cudnn_frontend.BUILD",
path = "third_party/cudnn_frontend/",
)
local_repository(
name = "com_github_google_flatbuffers",
path = "third_party/flatbuffers",