Skip to content

Commit

Permalink
rename work_resize => work_ensure_size
Browse files Browse the repository at this point in the history
  • Loading branch information
mgates3 committed Jun 2, 2023
1 parent f559fe8 commit db33be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cuda/cuda_potrf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
2 changes: 1 addition & 1 deletion src/onemkl/onemkl_potrf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit db33be5

Please sign in to comment.