masahi commented on code in PR #15030:
URL: https://github.com/apache/tvm/pull/15030#discussion_r1220173990
##########
src/runtime/contrib/cublas/cublas_json_runtime.cc:
##########
@@ -52,9 +54,7 @@ class CublasJSONRuntime : public JSONRuntimeBase {
const char* type_key() const override { return "cublas_json"; } // May be
overridden
void Run() override {
- // TODO(masahi): Reuse the same handle across different subgraphs
- cublasLtHandle_t handle;
- cublasLtCreate(&handle);
+ CuBlasLtThreadEntry* entry_ptr = CuBlasLtThreadEntry::ThreadLocal();
Review Comment:
I removed `using` and replaced this line with
```
auto entry_ptr = tvm::contrib::CuBlasLtThreadEntry::ThreadLocal();
```
to workaround the compile error.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]