Skip to content

Commit

Permalink
fix defaults for Preconfigured mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jul 7, 2021
1 parent 47b95a0 commit f3b8031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/llama/mapping/AoS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace llama::mapping
template <typename ArrayDims, typename RecordDim, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
using PackedAoS = AoS<ArrayDims, RecordDim, false, LinearizeArrayDimsFunctor>;

template <bool AlignAndPad = false, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
template <bool AlignAndPad = true, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
struct PreconfiguredAoS
{
template <typename ArrayDims, typename RecordDim>
Expand Down
2 changes: 1 addition & 1 deletion include/llama/mapping/SoA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ namespace llama::mapping
template <typename ArrayDims, typename RecordDim, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
using MultiBlobSoA = SoA<ArrayDims, RecordDim, true, LinearizeArrayDimsFunctor>;

template <bool SeparateBuffers = false, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
template <bool SeparateBuffers = true, typename LinearizeArrayDimsFunctor = LinearizeArrayDimsCpp>
struct PreconfiguredSoA
{
template <typename ArrayDims, typename RecordDim>
Expand Down

0 comments on commit f3b8031

Please sign in to comment.