You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "MasterJH5574 (via GitHub)" <gi...@apache.org> on 2024/01/25 04:50:07 UTC

Re: [PR] [Contrib] Workspace for cuBLAS backend [tvm]

MasterJH5574 commented on code in PR #16413:
URL: https://github.com/apache/tvm/pull/16413#discussion_r1465837639


##########
src/runtime/contrib/cublas/cublas_utils.h:
##########
@@ -80,7 +80,13 @@ struct CuBlasThreadEntry {
 struct CuBlasLtThreadEntry {
   CuBlasLtThreadEntry();
   ~CuBlasLtThreadEntry();
+
   cublasLtHandle_t handle{nullptr};
+  cublasLtMatmulPreference_t matmul_pref_desc{nullptr};
+  void* workspace_ptr{nullptr};
+  // 32MB workspace.
+  constexpr const static size_t workspace_size = 33554432;

Review Comment:
   Thanks! Just updated with the source.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org