-
Notifications
You must be signed in to change notification settings - Fork 21
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
Sid: dimension to tuple like #1750
Conversation
launch jenkins |
launch perftests |
launch perftests |
launch jenkins |
launch perftests |
launch jenkins |
launch perftests |
GT_REGRESSION_TEST(copy_stencil_tuple_tuple, test_environment<>, stencil_backend_t) { | ||
// expected to perform bad on GPU because array of structures | ||
using float_t = typename TypeParam::float_t; | ||
auto in = [](int i, int j, int k) { return tuple{i + j + k, i + j + k + 1, i + j + k + 2, i + j + k + 3}; }; |
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.
- try array
- then use 5 elements (because 4 floats should be a single load in cuda)
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.
Hmm. Performance is bad for array<float,4>
, too. No idea why this is not translated to a float4
load.
launch perftests |
launch perftests |
launch perftests |
launch jenkins |
launch perftests |
Allows to call `total_size` with empty tuple, returns 1.
…id_dimension_to_tuple_like
launch jenkins |
launch perftests |
launch jenkins |
launch perftests |
launch jenkins |
Adds a sid transformations utility which translates a sid with dimension
D
and element typeT
to a sid withD
removed and type istuple<T>
like, with tuple_sizeN
forsid::dimension_to_tuple_like<D, N>(sid)
.Additional: