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
26c33ed6
There was an error fetching the commit references. Please try again later.
Commit
26c33ed6
authored
5 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up typedefs in CSR matrix
parent
b5e48837
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/Matrices/CSR.h
+1
-6
1 addition, 6 deletions
src/TNL/Matrices/CSR.h
src/TNL/Matrices/Matrix.h
+1
-1
1 addition, 1 deletion
src/TNL/Matrices/Matrix.h
with
2 additions
and
7 deletions
src/TNL/Matrices/CSR.h
+
1
−
6
View file @
26c33ed6
...
...
@@ -47,18 +47,13 @@ public:
using
RealType
=
Real
;
using
DeviceType
=
Device
;
using
IndexType
=
Index
;
typedef
typename
Sparse
<
RealType
,
DeviceType
,
IndexType
>::
CompressedRowLengthsVector
CompressedRowLengthsVector
;
typedef
typename
Sparse
<
RealType
,
DeviceType
,
IndexType
>::
CompressedRowLengthsVector
CompressedRowLengthsVector
;
typedef
typename
Sparse
<
RealType
,
DeviceType
,
IndexType
>::
ConstCompressedRowLengthsVectorView
ConstCompressedRowLengthsVectorView
;
typedef
CSR
<
Real
,
Devices
::
Host
,
Index
>
HostType
;
typedef
CSR
<
Real
,
Devices
::
Cuda
,
Index
>
CudaType
;
typedef
Sparse
<
Real
,
Device
,
Index
>
BaseType
;
//typedef typename BaseType::MatrixRow MatrixRow;
using
MatrixRow
=
typename
BaseType
::
MatrixRow
;
using
ConstMatrixRow
=
typename
BaseType
::
ConstMatrixRow
;
//using typename BaseType::ConstMatrixRow;
//typedef SparseRow< const RealType, const IndexType > ConstMatrixRow;
enum
SPMVCudaKernel
{
scalar
,
vector
,
hybrid
};
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Matrices/Matrix.h
+
1
−
1
View file @
26c33ed6
...
...
@@ -32,7 +32,7 @@ public:
typedef
Index
IndexType
;
typedef
Containers
::
Vector
<
IndexType
,
DeviceType
,
IndexType
>
CompressedRowLengthsVector
;
typedef
Containers
::
VectorView
<
IndexType
,
DeviceType
,
IndexType
>
CompressedRowLengthsVectorView
;
typedef
Containers
::
VectorView
<
c
onst
IndexType
,
DeviceType
,
IndexType
>
ConstCompressedRowLengthsVectorView
;
typedef
typename
CompressedRowLengths
VectorView
::
C
onst
ViewType
ConstCompressedRowLengthsVectorView
;
typedef
Containers
::
Vector
<
RealType
,
DeviceType
,
IndexType
>
ValuesVector
;
Matrix
();
...
...
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