Skip to content

Conversation

@HazelCullom
Copy link
Contributor

No description provided.

class CabSliceFactory {
static constexpr int vecLen = Impl::PerformanceTraits<ExecutionSpace>::vector_length/8;
public:
static constexpr int vecLen = Impl::PerformanceTraits<ExecutionSpace>::vector_length;
Copy link
Contributor

Choose a reason for hiding this comment

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

Since it is static constexpr in the AoSoA object, would the following work?

static constexpr int vecLen = Cabana::AoSoA<DataTypes, DeviceType, vecLen>::vector_length;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ill try it out!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

Copy link
Contributor

@cwsmith cwsmith left a comment

Choose a reason for hiding this comment

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

Looks good. Feel free to merge if you are all set.

@HazelCullom HazelCullom merged commit 04c3355 into main Oct 12, 2022
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.

3 participants