-
Notifications
You must be signed in to change notification settings - Fork 59
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
eve::abs as a demo for elementwise handling + decorator wrappings #1704
Conversation
fc1bdc2
to
87c5521
Compare
<< "-> abs(pf) = " << eve::abs(pf) << '\n' | ||
<< "<- pi = " << pi << '\n' | ||
<< "-> saturated(abs)(pi) = " << eve::saturated(eve::abs)(pi) << '\n' |
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.
why delete saturated from abs docs?
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.
the doc include this one AND the saturated doc, so it was redudant
//! | ||
//! @groupheader{Semantic Modifiers} | ||
//! @groupheader{Semantic Modifiers} |
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.
should this just be one doc? upp to you, I'm just asking
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.
I was thinking about it, I'll try something - i.e having a single doc .cpp and use snippet inside doxygen to cut it in pieces
@@ -9,7 +9,7 @@ int main() | |||
wide_it pi = {-1, 2, -3, -32768}; | |||
|
|||
std::cout << "---- simd" << '\n' | |||
<< "<- pi = " << pi << '\n' | |||
<< "-> saturated(abs)(pi) = " << eve::saturated(eve::abs)(pi) << '\n'; | |||
<< "<- pi = " << pi << '\n' |
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.
Do ou want to actually redo these docs as tests, since you touch them?
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.
I will yes
No description provided.