Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 61e40347 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

testing: Fix maximum condition number in single precision testing

parent 1cf5301b
No related branches found
No related tags found
1 merge request!483Enable insert_task_zlacpy_on_remote_node
...@@ -21,6 +21,10 @@ if (CHAMELEON_SIMULATION) ...@@ -21,6 +21,10 @@ if (CHAMELEON_SIMULATION)
endif() endif()
endif() endif()
set( SINGLE_PRECISIONS s c )
# list all tests that have a specific input file for single precision computations
set( SINGLE_TESTS gepdf_qdwh genm2 )
if (NOT CHAMELEON_SIMULATION) if (NOT CHAMELEON_SIMULATION)
foreach(prec ${CHAMELEON_PRECISION}) foreach(prec ${CHAMELEON_PRECISION})
...@@ -82,7 +86,11 @@ if (NOT CHAMELEON_SIMULATION) ...@@ -82,7 +86,11 @@ if (NOT CHAMELEON_SIMULATION)
endif() endif()
foreach( test ${TESTSTMP} ) foreach( test ${TESTSTMP} )
add_test( test_${cat}_${prec}${test} ${PREFIX} ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}.in ) if ( ${test} IN_LIST SINGLE_TESTS AND ${prec} IN_LIST SINGLE_PRECISIONS )
add_test( test_${cat}_${prec}${test} ${PREFIX} ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}_32.in )
else()
add_test( test_${cat}_${prec}${test} ${PREFIX} ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}.in )
endif()
endforeach() endforeach()
if ( CHAMELEON_SCHED_STARPU ) if ( CHAMELEON_SCHED_STARPU )
...@@ -111,11 +119,15 @@ if (NOT CHAMELEON_SIMULATION) ...@@ -111,11 +119,15 @@ if (NOT CHAMELEON_SIMULATION)
list( REMOVE_ITEM TESTSTMP print gepdf_qr ) list( REMOVE_ITEM TESTSTMP print gepdf_qr )
foreach( test ${TESTSTMP} ) if ( NOT (${cat} STREQUAL "mpi"))
if ( NOT (${cat} STREQUAL "mpi")) foreach( test ${TESTSTMP} )
add_test( test_${cat}_${prec}${test}_std ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}.in --api=1 ) if ( ${test} IN_LIST SINGLE_TESTS AND ${prec} IN_LIST SINGLE_PRECISIONS )
endif() add_test( test_${cat}_${prec}${test}_std ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}_32.in --api=1 )
endforeach() else()
add_test( test_${cat}_${prec}${test}_std ${CMD} -c -t ${THREADS} -g ${gpus} -P 1 -f input/${test}.in --api=1 )
endif()
endforeach()
endif()
endforeach() endforeach()
endforeach() endforeach()
endforeach() endforeach()
......
# You can enumerate each parameter's values as an explicit list separated by commas or by a range start:end[:step]
# Not given parameters will receive default values
# GENM2
# mtxfmt
# nb: Tile size
# M: Number of rows of matrix A
# N: Number of columns of matrix A
# LDA: Leading dimension of matrix A
# cond: The condition number
# mode: the mode values for latms
op = genm2
nb = 16, 17
m = 15, 25, 37
n = 13, 23, 35
lda = 41
cond = 1., 1.e6
mode = 1:6
# You can enumerate each parameter's values as an explicit list separated by commas or by a range start:end[:step]
# Not given parameters will receive default values
# GEPDF_QDWH
# nb: Tile size
# ib: Inner tile size
# m: Number of rows of the A matrix
# n: Number of columns of the A matrix
# lda: Leading dimension of the A matrix
# ldb: Leading dimension of the H matrix
# cond: The condition number
# mode: the mode values for latms
op = gepdf_qdwh
nb = 8
ib = 3
m = 8, 32, 64
n = 8, 16, 32
lda = 79
ldb = 78
cond = 1., 1.e6
mode = 1:6
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment