You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I gave this a bit more thought and I don't think the inheritance based approach will work well with the Kokkos parallelism. If we could define a vector of Constraint type, it would be a good solution, but inevitably we'll need all the data to generate Phi and B in the GPU and we won't want to copy that in at every iteration. I do think this may be a great opportunity to define a View of Constraint structs that we can do a parallel_for over. Let's get together and come up with a list of constraint types that the struct will need to implement.
Task
Create an abstract interface for different types of constraints supported in OpenTurbine.
Why
To treat the constraints uniformly as member of the base class, rather than duplicating code to acknowledge the different types.
Done means
The text was updated successfully, but these errors were encountered: