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
8ae66b7a
There was an error fetching the commit references. Please try again later.
Commit
8ae66b7a
authored
11 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Fixing small bug in tnlMatrix.
parent
4bead8e6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install
+2
-2
2 additions, 2 deletions
install
src/implementation/matrices/tnlMatrix_impl.h
+1
-1
1 addition, 1 deletion
src/implementation/matrices/tnlMatrix_impl.h
tests/unit-tests/CMakeLists.txt
+1
-2
1 addition, 2 deletions
tests/unit-tests/CMakeLists.txt
with
4 additions
and
5 deletions
install
+
2
−
2
View file @
8ae66b7a
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
TARGET
=
TNL
TARGET
=
TNL
INSTALL_PREFIX
=
${
HOME
}
/local
INSTALL_PREFIX
=
${
HOME
}
/local
WITH_CUDA
=
yes
WITH_CUDA
=
no
WITH_CUSPARSE
=
no
WITH_CUSPARSE
=
no
CUDA_ARCHITECTURE
=
2.0
CUDA_ARCHITECTURE
=
2.0
TEMPLATE_EXPLICIT_INSTANTIATION
=
yes
TEMPLATE_EXPLICIT_INSTANTIATION
=
yes
VERBOSE
=
"VERBOSE=1"
#
VERBOSE="VERBOSE=1"
CMAKE
=
"cmake"
CMAKE
=
"cmake"
CPUS
=
`
grep
-c
processor /proc/cpuinfo
`
CPUS
=
`
grep
-c
processor /proc/cpuinfo
`
...
...
This diff is collapsed.
Click to expand it.
src/implementation/matrices/tnlMatrix_impl.h
+
1
−
1
View file @
8ae66b7a
...
@@ -137,7 +137,7 @@ bool tnlMatrix< Real, Device, Index >::save( tnlFile& file ) const
...
@@ -137,7 +137,7 @@ bool tnlMatrix< Real, Device, Index >::save( tnlFile& file ) const
if
(
!
tnlObject
::
save
(
file
)
||
if
(
!
tnlObject
::
save
(
file
)
||
!
file
.
write
(
&
this
->
rows
)
||
!
file
.
write
(
&
this
->
rows
)
||
!
file
.
write
(
&
this
->
columns
)
||
!
file
.
write
(
&
this
->
columns
)
||
!
this
->
values
.
save
>
(
file
)
)
!
this
->
values
.
save
(
file
)
)
return
false
;
return
false
;
#endif
#endif
return
true
;
return
true
;
...
...
This diff is collapsed.
Click to expand it.
tests/unit-tests/CMakeLists.txt
+
1
−
2
View file @
8ae66b7a
...
@@ -23,8 +23,7 @@ if( BUILD_CUDA )
...
@@ -23,8 +23,7 @@ if( BUILD_CUDA )
TARGET_LINK_LIBRARIES
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
CPPUNIT_LIBRARIES
}
TARGET_LINK_LIBRARIES
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
CPPUNIT_LIBRARIES
}
tnl
${
mpiExt
}${
debugExt
}
-0.1
)
tnl
${
mpiExt
}${
debugExt
}
-0.1
)
else
()
else
()
ADD_EXECUTABLE
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
headers
}
tnl-unit-tests.cpp
ADD_EXECUTABLE
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
headers
}
tnl-unit-tests.cpp
)
OPTIONS -arch sm_20 -shared
)
TARGET_LINK_LIBRARIES
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
CPPUNIT_LIBRARIES
}
TARGET_LINK_LIBRARIES
(
tnl-unit-tests
${
mpiExt
}${
debugExt
}
${
CPPUNIT_LIBRARIES
}
tnl
${
mpiExt
}${
debugExt
}
-0.1
)
tnl
${
mpiExt
}${
debugExt
}
-0.1
)
endif
()
endif
()
...
...
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