Skip to content

Commit

Permalink
Setup.py - Minor change to cudnn locator
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Sep 26, 2020
1 parent dee13ab commit 8861101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ def cudnn_checkfiles_linux():
return list()
cudnn_vers = chk[0]
cudnn_path = chk[chk.find("=>") + 3:chk.find("libcudnn") - 1]
cudnn_path = os.path.realpath(cudnn_path)
cudnn_path = cudnn_path.replace("lib", "include")
cudnn_checkfiles = [os.path.join(cudnn_path, "cudnn_v{}.h".format(cudnn_vers)),
os.path.join(cudnn_path, "cudnn.h")]
Expand Down

0 comments on commit 8861101

Please sign in to comment.