Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix] Compilation fix for -DMIOPEN_USE_ROCBLAS=Off #2435

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hip/handlehip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ struct HandleImpl
rhandle_pool.push_back(std::move(r_ptr));
}
#else
void add_stream(StreamPtr& s_ptr) { stream_pool.push_back(s_ptr); }
void add_stream(StreamPtr s_ptr) { stream_pool.push_back(s_ptr); }
#endif
// stream_pool used as cache for parallel streams created by MIOpen.
StreamPtrPool stream_pool;
Expand Down Expand Up @@ -362,7 +362,7 @@ void Handle::ReserveExtraStreamsInPool(int cnt) const
auto new_rhandle = CreateRocblasHandle(new_stream.get());
this->impl->ms_resourse_ptr->add_resours(std::move(new_stream), std::move(new_rhandle));
#else
this->impl->ms_resourse_ptr->add_resours(std::move(new_stream));
this->impl->ms_resourse_ptr->add_stream(std::move(new_stream));
#endif
}
}
Expand Down