Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored unit-tests in UnitTestKokkosViews.C. (spdomin#59)
This refactoring supports our design experimentation related to element-algorithms. * Adds two classes that mimic element-algorithms: TestElemAlgorithmWithVectors, TestElemAlgorithmWithViews * Illustrates the scratch-array resizing strategy which finds max nodes-per-elem and num-integ-points prior to the bucket loop and performs max resize, making subsequent resize operations fast. * Illustrates Kokkos views with shared-memory-views as prototyped by Christian in a separate repo. * Encapsulates looping mechanisms as described in recent meeting. * Some 'kokkos-helper' stuff (typedefs, small functions etc) are at the top of the file, essentially similar to the stuff that Christian had in the KokkosInterface.h header in his repo. * The test 'main' functions are at the bottom of the file, this is where you should start reading if you are interested in exploring.
- Loading branch information