@@ -61,58 +61,60 @@ if (Parmetis_FOUND AND Lima_FOUND)
6161 ARCANE_ADD_TEST_PARALLEL (case_part_metis_2_mli testCasePart-2.arc 4 )
6262endif ()
6363
64- arcane_add_test (material1 testMaterial-1.arc "-m 10" )
65- arcane_add_test_parallel_thread (material1 testMaterial-1.arc 4 "-m 10" )
66- arcane_add_test_parallel (material1_legacy_sync testMaterial-1.arc 4 "-m 10" "-We,ARCANE_MATERIAL_LEGACY_SYNCHRONIZE,1" )
67- if (LZ4_FOUND)
68- arcane_add_test_sequential (material1_lz4 testMaterial-1.arc "-m 10" "-We,ARCANE_MATERIAL_DATA_COMPRESSOR_NAME,LZ4DataCompressor" )
69- endif ()
70- arcane_add_test_sequential_task (material1 testMaterial-1.arc 4 "-m 10" )
71-
72- # Les trois tests suivants doivent faire le même nombre d'itérations et avoir le
73- # même nombre de mailles (pour test)
74- ARCANE_ADD_TEST (material2 testMaterial-2.arc "-m 13" )
75- ARCANE_ADD_TEST (material2_opt1 testMaterial-2-opt1.arc "-m 13" )
76- ARCANE_ADD_TEST (material2_opt3 testMaterial-2-opt3.arc "-m 13" )
77- ARCANE_ADD_TEST (material2_opt5 testMaterial-2-opt5.arc "-m 13" )
78- ARCANE_ADD_TEST (material2_opt7 testMaterial-2-opt7.arc "-m 13" )
79- ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv2 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,2 )
80- ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv3 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,3 )
81- ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv6 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,6 )
82- ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv7 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
83- ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv8 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,8 )
84- ARCANE_ADD_TEST_CHECKPOINT_SEQUENTIAL (material_checkpoint testMaterial-checkpoint.arc 3 3 )
85- ARCANE_ADD_TEST_CHECKPOINT_SEQUENTIAL (material_checkpoint_recreate testMaterial-checkpoint-recreate.arc 3 3 )
86-
87- arcane_add_test_sequential_task (material2 testMaterial-2task.arc 4 "-m 1" )
88-
89- ARCANE_ADD_TEST (material_sync1 testMaterial-sync-1.arc )
90- ARCANE_ADD_TEST_PARALLEL_THREAD (material_sync1 testMaterial-sync-1.arc 4 )
91- ARCANE_ADD_TEST_PARALLEL (material_sync2 testMaterial-sync-2.arc 4 )
92- ARCANE_ADD_TEST_PARALLEL (material_sync2_v3 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,3 )
93- arcane_add_test (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
94- arcane_add_test_parallel_thread (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
95- arcane_add_test_message_passing_hybrid (material_sync2_v7 CASE_FILE testMaterial-sync-2.arc NB_MPI 3 NB_SHM 4 ARGS -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
96-
97- arcane_add_accelerator_test_parallel (material_sync2_v6 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,6 )
98- arcane_add_accelerator_test_parallel (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
99- arcane_add_accelerator_test_parallel (material_sync2_v8 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,8 )
100- arcane_add_accelerator_test_parallel_thread (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
101-
102- ARCANE_ADD_TEST (material3 testMaterial-3.arc "-m 20" )
103- # NOTE Ajoute test optmisation uniquement en sequentiel car pour l'instant cela
104- # ne marche pas en parallele a cause de la suppression de mailles.
105- ARCANE_ADD_TEST_SEQUENTIAL (material3_opt1 testMaterial-3-opt1.arc "-m 20" )
106- ARCANE_ADD_TEST_SEQUENTIAL (material3_opt3 testMaterial-3-opt3.arc "-m 20" )
107- ARCANE_ADD_TEST_SEQUENTIAL (material3_opt5 testMaterial-3-opt5.arc "-m 20" )
108- ARCANE_ADD_TEST_SEQUENTIAL (material3_opt7 testMaterial-3-opt7.arc "-m 20" )
109- if (NOT ARCANE_DISABLE_PERFCOUNTER_TESTS)
110- arcane_add_test_sequential (material3_opt7_trace testMaterial-3-opt7.arc "-m 20" "-We,ARCANE_TRACE_ENUMERATOR,1" )
111- endif ()
64+ if (ARCANE_HAS_ACCELERATOR_API)
65+ arcane_add_test (material1 testMaterial-1.arc "-m 10" )
66+ arcane_add_test_parallel_thread (material1 testMaterial-1.arc 4 "-m 10" )
67+ arcane_add_test_parallel (material1_legacy_sync testMaterial-1.arc 4 "-m 10" "-We,ARCANE_MATERIAL_LEGACY_SYNCHRONIZE,1" )
68+ if (LZ4_FOUND)
69+ arcane_add_test_sequential (material1_lz4 testMaterial-1.arc "-m 10" "-We,ARCANE_MATERIAL_DATA_COMPRESSOR_NAME,LZ4DataCompressor" )
70+ endif ()
71+ arcane_add_test_sequential_task (material1 testMaterial-1.arc 4 "-m 10" )
72+
73+ # Les trois tests suivants doivent faire le même nombre d'itérations et avoir le
74+ # même nombre de mailles (pour test)
75+ ARCANE_ADD_TEST (material2 testMaterial-2.arc "-m 13" )
76+ ARCANE_ADD_TEST (material2_opt1 testMaterial-2-opt1.arc "-m 13" )
77+ ARCANE_ADD_TEST (material2_opt3 testMaterial-2-opt3.arc "-m 13" )
78+ ARCANE_ADD_TEST (material2_opt5 testMaterial-2-opt5.arc "-m 13" )
79+ ARCANE_ADD_TEST (material2_opt7 testMaterial-2-opt7.arc "-m 13" )
80+ ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv2 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,2 )
81+ ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv3 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,3 )
82+ ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv6 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,6 )
83+ ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv7 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
84+ ARCANE_ADD_TEST_PARALLEL (material2_opt3_syncv8 testMaterial-2-opt3.arc 4 -m 13 -We,ARCANE_MATSYNCHRONIZE_VERSION,8 )
85+ ARCANE_ADD_TEST_CHECKPOINT_SEQUENTIAL (material_checkpoint testMaterial-checkpoint.arc 3 3 )
86+ ARCANE_ADD_TEST_CHECKPOINT_SEQUENTIAL (material_checkpoint_recreate testMaterial-checkpoint-recreate.arc 3 3 )
87+
88+ arcane_add_test_sequential_task (material2 testMaterial-2task.arc 4 "-m 1" )
89+
90+ ARCANE_ADD_TEST (material_sync1 testMaterial-sync-1.arc )
91+ ARCANE_ADD_TEST_PARALLEL_THREAD (material_sync1 testMaterial-sync-1.arc 4 )
92+ ARCANE_ADD_TEST_PARALLEL (material_sync2 testMaterial-sync-2.arc 4 )
93+ ARCANE_ADD_TEST_PARALLEL (material_sync2_v3 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,3 )
94+ arcane_add_test (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
95+ arcane_add_test_parallel_thread (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
96+ arcane_add_test_message_passing_hybrid (material_sync2_v7 CASE_FILE testMaterial-sync-2.arc NB_MPI 3 NB_SHM 4 ARGS -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
97+
98+ arcane_add_accelerator_test_parallel (material_sync2_v6 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,6 )
99+ arcane_add_accelerator_test_parallel (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
100+ arcane_add_accelerator_test_parallel (material_sync2_v8 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,8 )
101+ arcane_add_accelerator_test_parallel_thread (material_sync2_v7 testMaterial-sync-2.arc 4 -We,ARCANE_MATSYNCHRONIZE_VERSION,7 )
102+
103+ ARCANE_ADD_TEST (material3 testMaterial-3.arc "-m 20" )
104+ # NOTE Ajoute test optmisation uniquement en sequentiel car pour l'instant cela
105+ # ne marche pas en parallele a cause de la suppression de mailles.
106+ ARCANE_ADD_TEST_SEQUENTIAL (material3_opt1 testMaterial-3-opt1.arc "-m 20" )
107+ ARCANE_ADD_TEST_SEQUENTIAL (material3_opt3 testMaterial-3-opt3.arc "-m 20" )
108+ ARCANE_ADD_TEST_SEQUENTIAL (material3_opt5 testMaterial-3-opt5.arc "-m 20" )
109+ ARCANE_ADD_TEST_SEQUENTIAL (material3_opt7 testMaterial-3-opt7.arc "-m 20" )
110+ if (NOT ARCANE_DISABLE_PERFCOUNTER_TESTS)
111+ arcane_add_test_sequential (material3_opt7_trace testMaterial-3-opt7.arc "-m 20" "-We,ARCANE_TRACE_ENUMERATOR,1" )
112+ endif ()
112113
113- ARCANE_ADD_TEST_PARALLEL (material3_opt7_lb testMaterial-3-opt7-lb.arc 4 "-m 20" )
114+ ARCANE_ADD_TEST_PARALLEL (material3_opt7_lb testMaterial-3-opt7-lb.arc 4 "-m 20" )
114115
115- ARCANE_ADD_TEST_SEQUENTIAL (material1_simd1 testMaterialSimd-1.arc )
116+ ARCANE_ADD_TEST_SEQUENTIAL (material1_simd1 testMaterialSimd-1.arc )
117+ endif ()
116118
117119ARCANE_ADD_TEST (cartesian1 testCartesianMesh-1.arc "-m 20" )
118120arcane_add_accelerator_test_sequential (cartesian1 testCartesianMesh-1.arc "-m 20" )
@@ -258,7 +260,9 @@ arcane_add_test_sequential(cartesianpatch1 unitCartesianPatch1.arc)
258260#####################
259261# HyODA Mixed Cells #
260262#####################
261- ARCANE_ADD_TEST_SEQUENTIAL (hyoda_mixed_cells testHyodaMixedCells.arc )
263+ if (ARCANE_HAS_ACCELERATOR_API)
264+ ARCANE_ADD_TEST_SEQUENTIAL (hyoda_mixed_cells testHyodaMixedCells.arc )
265+ endif ()
262266
263267# Fonction pour recopier les maillages issus de répertoires
264268# qui ne sont pas dans les dépots arcane (pour des raisons de taille)
0 commit comments