@@ -96,8 +96,8 @@ void omatcopy(const char* func_name, Func func, sycl::queue& queue, transpose tr
9696 auto b_acc = b.template get_access <sycl::access::mode::read_write>(cgh);
9797 const int64_t logical_m = (trans == oneapi::math::transpose::nontrans ? m : n);
9898 const int64_t logical_n = (trans == oneapi::math::transpose::nontrans ? n : m);
99- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
100- auto handle = sc.get_handle (queue );
99+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
100+ auto handle = sc.get_handle ();
101101 auto a_ = sc.get_mem <cuDataType*>(a_acc);
102102 auto b_ = sc.get_mem <cuDataType*>(b_acc);
103103 cublasStatus_t err;
@@ -172,8 +172,8 @@ void omatadd(const char* func_name, Func func, sycl::queue& queue, transpose tra
172172 auto a_acc = a.template get_access <sycl::access::mode::read>(cgh);
173173 auto b_acc = b.template get_access <sycl::access::mode::read>(cgh);
174174 auto c_acc = c.template get_access <sycl::access::mode::read_write>(cgh);
175- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
176- auto handle = sc.get_handle (queue );
175+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
176+ auto handle = sc.get_handle ();
177177 auto a_ = sc.get_mem <cuDataType*>(a_acc);
178178 auto b_ = sc.get_mem <cuDataType*>(b_acc);
179179 auto c_ = sc.get_mem <cuDataType*>(c_acc);
@@ -274,8 +274,8 @@ sycl::event omatcopy(const char* func_name, Func func, sycl::queue& queue, trans
274274 cgh.depends_on (dependencies);
275275 const int64_t logical_m = (trans == oneapi::math::transpose::nontrans ? m : n);
276276 const int64_t logical_n = (trans == oneapi::math::transpose::nontrans ? n : m);
277- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
278- auto handle = sc.get_handle (queue );
277+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
278+ auto handle = sc.get_handle ();
279279 auto a_ = reinterpret_cast <const cuDataType*>(a);
280280 auto b_ = reinterpret_cast <cuDataType*>(b);
281281 cublasStatus_t err;
@@ -356,8 +356,8 @@ inline sycl::event omatadd(const char* func_name, Func func, sycl::queue& queue,
356356 overflow_check (m, n, lda, ldb, ldc);
357357 auto done = queue.submit ([&](sycl::handler& cgh) {
358358 cgh.depends_on (dependencies);
359- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
360- auto handle = sc.get_handle (queue );
359+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
360+ auto handle = sc.get_handle ();
361361 auto a_ = reinterpret_cast <const cuDataType*>(a);
362362 auto b_ = reinterpret_cast <const cuDataType*>(b);
363363 auto c_ = reinterpret_cast <cuDataType*>(c);
@@ -459,8 +459,8 @@ void omatcopy(const char* func_name, Func func, sycl::queue& queue, transpose tr
459459 auto b_acc = b.template get_access <sycl::access::mode::read_write>(cgh);
460460 const int64_t logical_m = (trans == oneapi::math::transpose::nontrans ? n : m);
461461 const int64_t logical_n = (trans == oneapi::math::transpose::nontrans ? m : n);
462- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
463- auto handle = sc.get_handle (queue );
462+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
463+ auto handle = sc.get_handle ();
464464 auto a_ = sc.get_mem <cuDataType*>(a_acc);
465465 auto b_ = sc.get_mem <cuDataType*>(b_acc);
466466 cublasStatus_t err;
@@ -535,8 +535,8 @@ void omatadd(const char* func_name, Func func, sycl::queue& queue, transpose tra
535535 auto a_acc = a.template get_access <sycl::access::mode::read>(cgh);
536536 auto b_acc = b.template get_access <sycl::access::mode::read>(cgh);
537537 auto c_acc = c.template get_access <sycl::access::mode::read_write>(cgh);
538- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
539- auto handle = sc.get_handle (queue );
538+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
539+ auto handle = sc.get_handle ();
540540 auto a_ = sc.get_mem <cuDataType*>(a_acc);
541541 auto b_ = sc.get_mem <cuDataType*>(b_acc);
542542 auto c_ = sc.get_mem <cuDataType*>(c_acc);
@@ -637,8 +637,8 @@ sycl::event omatcopy(const char* func_name, Func func, sycl::queue& queue, trans
637637 cgh.depends_on (dependencies);
638638 const int64_t logical_m = (trans == oneapi::math::transpose::nontrans ? n : m);
639639 const int64_t logical_n = (trans == oneapi::math::transpose::nontrans ? m : n);
640- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
641- auto handle = sc.get_handle (queue );
640+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
641+ auto handle = sc.get_handle ();
642642 auto a_ = reinterpret_cast <const cuDataType*>(a);
643643 auto b_ = reinterpret_cast <cuDataType*>(b);
644644 cublasStatus_t err;
@@ -719,8 +719,8 @@ inline sycl::event omatadd(const char* func_name, Func func, sycl::queue& queue,
719719 overflow_check (m, n, lda, ldb, ldc);
720720 auto done = queue.submit ([&](sycl::handler& cgh) {
721721 cgh.depends_on (dependencies);
722- onemath_cublas_host_task (cgh, queue, [=](CublasScopedContextHandler& sc) {
723- auto handle = sc.get_handle (queue );
722+ onemath_cublas_host_task (cgh, [=](CublasScopedContextHandler& sc) {
723+ auto handle = sc.get_handle ();
724724 auto a_ = reinterpret_cast <const cuDataType*>(a);
725725 auto b_ = reinterpret_cast <const cuDataType*>(b);
726726 auto c_ = reinterpret_cast <cuDataType*>(c);
0 commit comments