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
256e1813
There was an error fetching the commit references. Please try again later.
Commit
256e1813
authored
6 years ago
by
Lukas Cejka
Browse files
Options
Downloads
Patches
Plain Diff
Added DenseMatrixTest to CMakeLists.
parent
fc2ad138
No related branches found
No related tags found
1 merge request
!16
Matrices
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/UnitTests/Matrices/CMakeLists.txt
+10
-1
10 additions, 1 deletion
src/UnitTests/Matrices/CMakeLists.txt
with
10 additions
and
1 deletion
src/UnitTests/Matrices/CMakeLists.txt
+
10
−
1
View file @
256e1813
...
...
@@ -6,6 +6,10 @@ IF( BUILD_CUDA )
CUDA_ADD_EXECUTABLE
(
SparseMatrixTest SparseMatrixTest.h SparseMatrixTest.cu OPTIONS
${
CXX_TESTS_FLAGS
}
)
TARGET_LINK_LIBRARIES
(
SparseMatrixTest
${
GTEST_BOTH_LIBRARIES
}
tnl
)
CUDA_ADD_EXECUTABLE
(
DenseMatrixTest DenseMatrixTest.h DenseMatrixTest.cu OPTIONS
${
CXX_TESTS_FLAGS
}
)
TARGET_LINK_LIBRARIES
(
DenseMatrixTest
${
GTEST_BOTH_LIBRARIES
}
tnl
)
ELSE
(
BUILD_CUDA
)
ADD_EXECUTABLE
(
SparseMatrixCopyTest SparseMatrixCopyTest.h SparseMatrixCopyTest.cpp
)
TARGET_COMPILE_OPTIONS
(
SparseMatrixCopyTest PRIVATE
${
CXX_TESTS_FLAGS
}
)
...
...
@@ -16,9 +20,14 @@ ELSE( BUILD_CUDA )
TARGET_COMPILE_OPTIONS
(
SparseMatrixTest PRIVATE
${
CXX_TESTS_FLAGS
}
)
TARGET_LINK_LIBRARIES
(
SparseMatrixTest
${
GTEST_BOTH_LIBRARIES
}
tnl
)
ADD_EXECUTABLE
(
DenseMatrixTest DenseMatrixTest.h DenseMatrixTest.cpp
)
TARGET_COMPILE_OPTIONS
(
DenseMatrixTest PRIVATE
${
CXX_TESTS_FLAGS
}
)
TARGET_LINK_LIBRARIES
(
DenseMatrixTest
${
GTEST_BOTH_LIBRARIES
}
tnl
)
ENDIF
(
BUILD_CUDA
)
ADD_TEST
(
SparseMatrixCopyTest
${
EXECUTABLE_OUTPUT_PATH
}
/SparseMatrixCopyTest
${
CMAKE_EXECUTABLE_SUFFIX
}
)
ADD_TEST
(
SparseMatrixTest
${
EXECUTABLE_OUTPUT_PATH
}
/SparseMatrixTest
${
CMAKE_EXECUTABLE_SUFFIX
}
)
#This is a useless comment
ADD_TEST
(
DenseMatrixTest
${
EXECUTABLE_OUTPUT_PATH
}
/SparseMatrixTest
${
CMAKE_EXECUTABLE_SUFFIX
}
)
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