-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cublas_handle() to expose cublas_handle to ops #31157
Conversation
Thanks for your contribution! |
@@ -459,6 +459,10 @@ cudnnHandle_t CUDADeviceContext::cudnn_handle() const { | |||
return context()->CudnnHandle(); | |||
} | |||
|
|||
cublasHandle_t CUDADeviceContext::get_cublas_handle() const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest get_cublas_handle() -> cublas_handle(), keep consistent with other function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* add get_cublas_handle() api * update format * add unittests * alter function name
PR types
Others
PR changes
Others
Describe
Add
cublas_handle()
to exposecublas_handle
for ops.This is used for custom op faster transformer.