Skip to content

Commit

Permalink
Disable workspace setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hsharsha committed Aug 28, 2024
1 parent be97509 commit dd85325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xla/stream_executor/rocm/rocm_blas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,12 @@ absl::Status ROCMBlas::DoBlasInternalImpl(FuncT rocblas_func, Stream *stream,
<< ": " << ToString(ret);
}
}
#if TF_ROCM_VERSION >= 60000
#if 0
{
auto *workspace = GetWorkspace();
auto *wptr = workspace != nullptr ? workspace->opaque() : nullptr;
size_t wsize = workspace != nullptr ? workspace->size() : 0;
auto ret = wrap::rocblas_set_workspace(blas_, wptr, wsize);
auto ret = wrap::rocblas_set_workspace(blas_, wptr, wsize);
if (err_on_failure && ret != rocblas_status_success) {
LOG(ERROR) << "Failed to set workspace before " << FuncT::kName
<< ": " << ToString(ret);
Expand Down

0 comments on commit dd85325

Please sign in to comment.