Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
914c15f8
There was an error fetching the commit references. Please try again later.
Commit
914c15f8
authored
4 years ago
by
Jakub Klinkovský
Committed by
Tomáš Oberhuber
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed remaining return types of getOrganization methods
Fixes
#83
parent
c3da0972
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/TNL/Algorithms/Segments/EllpackView.h
+1
-1
1 addition, 1 deletion
src/TNL/Algorithms/Segments/EllpackView.h
src/TNL/Algorithms/Segments/SlicedEllpackView.h
+1
-1
1 addition, 1 deletion
src/TNL/Algorithms/Segments/SlicedEllpackView.h
with
2 additions
and
2 deletions
src/TNL/Algorithms/Segments/EllpackView.h
+
1
−
1
View file @
914c15f8
...
@@ -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_
>
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Algorithms/Segments/SlicedEllpackView.h
+
1
−
1
View file @
914c15f8
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment