From db33be5ef87716326bc2832aa7b640a2c98a3ae9 Mon Sep 17 00:00:00 2001 From: Mark Gates Date: Fri, 2 Jun 2023 14:40:41 -0400 Subject: [PATCH] rename work_resize => work_ensure_size --- src/cuda/cuda_potrf.cc | 2 +- src/onemkl/onemkl_potrf.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cuda/cuda_potrf.cc b/src/cuda/cuda_potrf.cc index eb6754fe..1cd89be0 100644 --- a/src/cuda/cuda_potrf.cc +++ b/src/cuda/cuda_potrf.cc @@ -160,7 +160,7 @@ void potrf( uplo, n, dA, ldda, &dev_work_size, &host_work_size, queue ); // alloc workspace in queue - queue.work_resize< char >( dev_work_size ); // syncs if needed + queue.work_ensure_size< char >( dev_work_size ); // syncs if needed void* dev_work = queue.work(); blas_error_if( host_work_size != 0 ); diff --git a/src/onemkl/onemkl_potrf.cc b/src/onemkl/onemkl_potrf.cc index 0ab3825b..d5be9b7d 100644 --- a/src/onemkl/onemkl_potrf.cc +++ b/src/onemkl/onemkl_potrf.cc @@ -68,7 +68,7 @@ void potrf( uplo, n, dA, ldda, &dev_work_size, &host_work_size, queue ); // alloc workspace in queue - queue.work_resize< char >( dev_work_size ); // syncs if needed + queue.work_ensure_size< char >( dev_work_size ); // syncs if needed void* dev_work = queue.work(); blas_error_if( host_work_size != 0 );