-
Is there a recommended way on how to use |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
They are not in cuda toolkit, aka, seperate nvidia product build on top of cuda toolkit. So you need to wrap them by yourself. |
Beta Was this translation helpful? Give feedback.
-
Would it make sense to put some documentation for a best practice way here into the repo/examples? I expect people searching for this might end up here. |
Beta Was this translation helpful? Give feedback.
-
# In your WORKSPACE.bazel
load("//third_party/cudnn:deps.bzl", "cudnn_dependencies")
cudnn_dependencies() The code is extracted from a personal private repo and is rather outdated, you might want to tweak it to fit your need. Just use it as public domain, WTFPL if you want. For trt, you should follow the similar way to import the library. |
Beta Was this translation helpful? Give feedback.
-
I created rules_cudnn based on @cloudhan 's code. I'm not familiar with bazel, so I would appreciate it if someone could give me feedback. |
Beta Was this translation helpful? Give feedback.
third_party.zip
The code is extracted from a personal private repo and is rather outdated, you might want to tweak it to fit your need. Just use it as public domain, WTFPL if you want.
For trt, you should follow the similar way to import the library.