-
Notifications
You must be signed in to change notification settings - Fork 232
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
InlineVector implementation #3419
base: develop
Are you sure you want to change the base?
InlineVector implementation #3419
Conversation
src/include/miopen/inline_vector.hpp
Outdated
std::copy(data.begin(), data.end(), storage.begin()); | ||
} | ||
|
||
template <typename _InputIterator, typename = std::_RequireInputIter<_InputIterator>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_RequireInputIter
is gcc/clang specific.
I guess that part can be omitted at all:
template <typename InputIterator>
After develop fix, looks like there is this hip tidy error: [2024-12-03T18:18:41.307Z] test/gtest/inline_vector_basic_ops.cpp:54:1: warning: syntax error [syntaxError] |
This is PR for initial implementation of
InlineVector
class from issue #3408, also added some tests for this.I will do additional performance testing with tensorOp solver structure to check if, and how much, host time is reduced using
InlineVector
instead ofstd::vector
for lens/strides inTensorDescriptor