We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed12c7 commit 58fc2c6Copy full SHA for 58fc2c6
src/blas/backends/cublas/cublas_scope_handle.cpp
@@ -97,7 +97,8 @@ void ContextCallback(void *userData) {
97
}
98
99
cublasHandle_t CublasScopedContextHandler::get_handle(const cl::sycl::queue &queue) {
100
- auto piPlacedContext_ = reinterpret_cast<pi_context>(placedContext_.get());
+ auto piPlacedContext_ =
101
+ reinterpret_cast<pi_context>(cl::sycl::get_native<cl::sycl::backend::cuda>(placedContext_));
102
CUstream streamId = get_stream(queue);
103
cublasStatus_t err;
104
auto it = handle_helper.cublas_handle_mapper_.find(piPlacedContext_);
0 commit comments