-
Notifications
You must be signed in to change notification settings - Fork 69
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 for ViewSubView copy operation #160
Conversation
} | ||
case 4: | ||
{ | ||
std::vector<Elem> v2{75, 76, 78, 79, 91, 92, 95, 96, 139, 140, 143, 144, 155, 156, 159, 160}; |
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.
For now it would be good if you could comment out the 4 dimensional case here and use if(Dim::value != 4u)
in the other test case. This would allow us to merge this independently of a 4D copy support.
Update |
//! Prints all elements of the buffer. | ||
//----------------------------------------------------------------------------- | ||
struct PrintBufferKernel { | ||
template <typename TAcc, |
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.
Could you please begin with the first type indented on a new line? Furthermore, alpaka does not currently use a space before the <
.
Thanks for providing such extensive tests! |
The logs of the CI are getting to long. Could we reduce the ALPAKA_DEBUG level ? |
This PR add two test cases for the ViewSubView class. The first test verifies the copy operation based on a static buffer. The second test verifies the copy operation based on varying buffer sizes and dimensions.
This PR still includes fixes of #158 and #157. The test case can not run through because of #159.
fix CUDA full n-dimensional support #159