Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
faust group
faust
Commits
36148a73
Commit
36148a73
authored
8 years ago
by
Adrien Leman
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
debug ctest multiplication
parent
d6210bf9
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
misc/test/CMakeLists.txt
+2
-2
2 additions, 2 deletions
misc/test/CMakeLists.txt
misc/test/GPU_test/CMakeLists.txt
+3
-4
3 additions, 4 deletions
misc/test/GPU_test/CMakeLists.txt
with
5 additions
and
6 deletions
misc/test/CMakeLists.txt
+
2
−
2
View file @
36148a73
...
...
@@ -91,7 +91,7 @@ if(MATIO_LIB_FILE AND MATIO_INC_DIR AND BUILD_READ_MAT_FILE) # AND HDF5_LIB_FILE
# multiply_compare_time : time comparison between Faust-vector product and Dense matrix-vector product
foreach
(
TEST_FPP float double
)
foreach
(
testin hierarchicalFactorization test_palm4MSA
F
aust_multiplication
)
foreach
(
testin hierarchicalFactorization test_palm4MSA
f
aust_multiplication
)
# copy CPU files cpp.in to the user's ./src/ directory in float et double precision
configure_file
(
${
FAUST_SRC_TEST_SRC_DIR
}
/
${
testin
}
.cpp.in
${
FAUST_BIN_TEST_SRC_DIR
}
/
${
testin
}
_
${
TEST_FPP
}
.cpp @ONLY
)
# Generation of the binary files in double and float precision
...
...
@@ -150,7 +150,7 @@ if (BUILD_READ_MAT_FILE)
add_test
(
NAME MATFILE_FACT_HADAMARD_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_BIN_DIR
}
/hierarchicalFactorization_
${
TEST_FPP
}
${
FAUST_DATA_MAT_DIR
}
/matrix_HADAMARD_32.mat
${
FAUST_CONFIG_MAT_DIR
}
/config_HADAMARD_32.mat 5930 30
)
add_test
(
NAME MATFILE_FACT_HIER_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_BIN_DIR
}
/hierarchicalFactorization_
${
TEST_FPP
}
${
FAUST_DATA_MAT_DIR
}
/matrix_hierarchical_fact.mat
${
FAUST_CONFIG_MAT_DIR
}
/config_hierarchical_fact.mat 9401.5 0.1
)
add_test
(
NAME MATFILE_MULTIPLICATION_MEG_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_BIN_DIR
}
/
F
aust_multiplication_
${
TEST_FPP
}
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
X_meg.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_6.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_8.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_16.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_25.mat
)
add_test
(
NAME MATFILE_MULTIPLICATION_MEG_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_BIN_DIR
}
/
f
aust_multiplication_
${
TEST_FPP
}
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
X_meg.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_6.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_8.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_16.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_25.mat
)
add_test
(
NAME MATFILE_PALM4MSA_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_BIN_DIR
}
/test_palm4MSA_
${
TEST_FPP
}
)
...
...
This diff is collapsed.
Click to expand it.
misc/test/GPU_test/CMakeLists.txt
+
3
−
4
View file @
36148a73
...
...
@@ -14,7 +14,7 @@ add_definitions(-DCOMPILE_GPU)
if
(
BUILD_READ_MAT_FILE AND MATIO_LIB_FILE AND MATIO_INC_DIR
)
# generation des executables de algorithme hierarchical_fact en GPU en simple et double precision
foreach
(
TEST_FPP float double
)
foreach
(
testin hierarchicalFactorization_gpu
)
#F
aust_multiplication_gpu
foreach
(
testin hierarchicalFactorization_gpu
f
aust_multiplication_gpu
)
# copy CPU files cpp.in to the user's ./src/ directory en float et double precision
configure_file
(
${
FAUST_SRC_TEST_SRC_DIR
}
/
${
testin
}
.cpp.in
${
FAUST_BIN_TEST_SRC_DIR
}
/
${
testin
}
_
${
TEST_FPP
}
.cpp @ONLY
)
# Creation des executable en double et en float
...
...
@@ -48,9 +48,8 @@ if (BUILD_READ_MAT_FILE AND MATIO_LIB_FILE AND MATIO_INC_DIR)
#add_test(NAME MATFILE_FACT_MEG_GPU_DOUBLE COMMAND ${FAUST_BIN_TEST_GPU_DIR}/hierarchicalFactorization_gpu_double ${FAUST_DATA_MAT_DIR}/matrix_MEG.mat ${FAUST_CONFIG_MAT_DIR}/config_MEG.mat 22480 1)
# add_test(NAME MATFILE_MULTIPLICATION_MEG_GPU_${TEST_FPP} COMMAND ${FAUST_BIN_TEST_GPU_DIR}/Faust_multiplication_gpu_${TEST_FPP} ${FAUST_DEMO_BSL_DATA_SRC_DIR}X_meg.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_6.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_8.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_16.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_25.mat)
# add_test(NAME MATFILE_MULTIPLICATION_MEG_GPU_FLOAT COMMAND ${FAUST_BIN_TEST_GPU_DIR}/Faust_multiplication_gpu_float ${FAUST_DEMO_BSL_DATA_SRC_DIR}X_meg.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_6.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_8.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_16.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_25.mat)
add_test
(
NAME MATFILE_MULTIPLICATION_MEG_GPU_
${
TEST_FPP
}
COMMAND
${
FAUST_BIN_TEST_GPU_DIR
}
/faust_multiplication_gpu_
${
TEST_FPP
}
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
X_meg.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_6.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_8.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_16.mat
${
FAUST_DEMO_BSL_DATA_SRC_DIR
}
M_25.mat
)
# add_test(NAME MATFILE_MULTIPLICATION_MEG_GPU_FLOAT COMMAND ${FAUST_BIN_TEST_GPU_DIR}/faust_multiplication_gpu_float ${FAUST_DEMO_BSL_DATA_SRC_DIR}X_meg.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_6.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_8.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_16.mat ${FAUST_DEMO_BSL_DATA_SRC_DIR}M_25.mat)
set_tests_properties
(
MATFILE_FACT_MEG_GPU_
${
TEST_FPP
}
PROPERTIES TIMEOUT
${
TIMEOUT_MEG
}
)
endforeach
()
...
...
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