Skip to content
Snippets Groups Projects
Commit 914c15f8 authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Tomáš Oberhuber
Browse files

Fixed remaining return types of getOrganization methods

Fixes #83
parent c3da0972
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ class EllpackView ...@@ -33,7 +33,7 @@ class EllpackView
using DeviceType = Device; using DeviceType = Device;
using IndexType = std::remove_const_t< Index >; using IndexType = std::remove_const_t< Index >;
static constexpr int getAlignment() { return Alignment; } static constexpr int getAlignment() { return Alignment; }
static constexpr bool getOrganization() { return Organization; } static constexpr ElementsOrganization getOrganization() { return Organization; }
using OffsetsContainer = Containers::Vector< IndexType, DeviceType, IndexType >; using OffsetsContainer = Containers::Vector< IndexType, DeviceType, IndexType >;
using SegmentsSizes = OffsetsContainer; using SegmentsSizes = OffsetsContainer;
template< typename Device_, typename Index_ > template< typename Device_, typename Index_ >
......
...@@ -32,7 +32,7 @@ class SlicedEllpackView ...@@ -32,7 +32,7 @@ class SlicedEllpackView
using IndexType = std::remove_const_t< Index >; using IndexType = std::remove_const_t< Index >;
using OffsetsView = typename Containers::VectorView< Index, DeviceType, IndexType >; using OffsetsView = typename Containers::VectorView< Index, DeviceType, IndexType >;
static constexpr int getSliceSize() { return SliceSize; } static constexpr int getSliceSize() { return SliceSize; }
static constexpr bool getOrganization() { return Organization; } static constexpr ElementsOrganization getOrganization() { return Organization; }
template< typename Device_, typename Index_ > template< typename Device_, typename Index_ >
using ViewTemplate = SlicedEllpackView< Device_, Index_, Organization, SliceSize >; using ViewTemplate = SlicedEllpackView< Device_, Index_, Organization, SliceSize >;
using ViewType = SlicedEllpackView; using ViewType = SlicedEllpackView;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment