-
Notifications
You must be signed in to change notification settings - Fork 405
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
Test DualView resize/realloc with WithoutInitializing for types without default constructor #7006
Test DualView resize/realloc with WithoutInitializing for types without default constructor #7006
Conversation
cd43473
to
cadab6c
Compare
Impl::test_dualview_realloc<NoDefaultConstructor, TEST_EXECSPACE, | ||
/* Initialize */ false>(); |
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.
A little bit disturbing to have Impl::
on this line and not on the one above.
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.
test_dualview_realloc
calls Impl::test_dualview_realloc
both with Initialiize=true
and Initialize=false
. We can only test with Initialize=false
for NoDefualtConstructor
, though.
Impl::test_dualview_resize<NoDefaultConstructor, TEST_EXECSPACE, | ||
/* Initialize */ false>(); |
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.
A little bit disturbing to have Impl::
on this line and not on the one above.
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.
This doesn't work yet the failures in Jenkins are real.
9b0d839
to
c07e218
Compare
c07e218
to
2b7b98a
Compare
Retest this please |
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.
There is a SYCL segfault is that real?
No,
was fixed in a different pull request and this one only modifies container tests anyway. |
This pull request adds another test for
DualView
for #6993 that fixedKokkos::realloc/resize
with Kokkos::WithouttInitializing such that it can be used with types that don't define a default constructor.