Adding runtime accessors to memory data to enable vectorization.
Removes tuple-style cast for member access in AoSoA::get<> in favor of pointer casting to enable vectorization. Also gives runtime, non-templated accessors to raw data blocks, data member ranks, data member extent, and data member strides.
parent
d37fe9ab
No related branches found
No related tags found
Showing
- core/example/cuda_uvm_example.cu 4 additions, 3 deletionscore/example/cuda_uvm_example.cu
- core/example/serial_example.cpp 3 additions, 2 deletionscore/example/serial_example.cpp
- core/example/strided_example.cpp 0 additions, 145 deletionscore/example/strided_example.cpp
- core/src/Cabana_AoSoA.hpp 160 additions, 51 deletionscore/src/Cabana_AoSoA.hpp
- core/src/Cabana_MemberSlice.hpp 4 additions, 22 deletionscore/src/Cabana_MemberSlice.hpp
- core/unit_test/tstAoSoA.cpp 93 additions, 62 deletionscore/unit_test/tstAoSoA.cpp
- core/unit_test/tstMemberSlice.cpp 50 additions, 74 deletionscore/unit_test/tstMemberSlice.cpp
Loading
Please register or sign in to comment