Skip to content

Conversation

@Fletterio
Copy link
Contributor

Checks that the arithmetic and comparisons work as expected + checks it compiles for GPU

@devshgraphicsprogramming
Copy link
Member

Please ensure that Example 28 works

ternary_operator<complex_t<scalar_t> > ternaryOp;

ternary_operator<complex_t<scalar_t> > ternaryOp;

// --------------------------------------------------- MIRROR PADDING -------------------------------------------------------------------------------------------
#ifdef MIRROR_PADDING
preloaded[localElementIndex] = select(oddThread ^ invert, hi, lo);
preloaded[localElementIndex] = select(_static_cast<bool>(oddThread ^ invert), hi, lo);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fletterio you may want to fix this in a few days

_static_cast<bool>(oddThread ^ invert) -> oddThread!=invert

Also invert has a highlight for some reason,might be a keyword

@devshgraphicsprogramming devshgraphicsprogramming merged commit 85b7182 into master Dec 12, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants