File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
if (ARCANE_HAS_ACCELERATOR_API )
4
4
list (APPEND ARCANE_SOURCES
5
5
AdiProjectionModule.cc
6
+ MaterialHeatTestModule.cc
6
7
)
7
8
set (ARCANE_ACCELERATOR_SOURCES
8
9
AdiProjectionModule.cc
Original file line number Diff line number Diff line change 1
1
set (ARCANE_SOURCES
2
2
RayMeshIntersectionUnitTest.cc
3
- MaterialHeatTestModule.cc
4
3
MeshMaterialTesterModule.cc
5
4
CartesianMeshTesterModule.cc
6
5
HyodaMixedCellsUnitTest.cc
Original file line number Diff line number Diff line change @@ -303,16 +303,21 @@ foreach(test_index 1 2 3)
303
303
set (TEST_ACTIVE_LOAD_BALANCE "false" )
304
304
set (_TEST_FILENAME "${ARCANE_TEST_PATH} /testMaterialHeat-${test_index} -opt${opt_level} .arc" )
305
305
configure_file ("testMaterialHeat-${test_index} .arc.in" "${_TEST_FILENAME} " )
306
- arcane_add_test (material_heat_opt${opt_level}_${test_index} ${_TEST_FILENAME} )
307
306
308
307
# Test avec équilibrage
309
308
set (TEST_ACTIVE_LOAD_BALANCE "true" )
310
309
set (_TEST_FILENAME "${ARCANE_TEST_PATH} /testMaterialHeat-${test_index} -opt${opt_level} -lb.arc" )
311
310
configure_file ("testMaterialHeat-${test_index} .arc.in" "${_TEST_FILENAME} " )
312
- arcane_add_test (material_heat_lb_opt${opt_level}_${test_index} ${_TEST_FILENAME} )
311
+ if (ARCANE_HAS_ACCELERATOR_API )
312
+ arcane_add_test (material_heat_opt${opt_level}_${test_index} ${_TEST_FILENAME} )
313
+ arcane_add_test (material_heat_lb_opt${opt_level}_${test_index} ${_TEST_FILENAME} )
314
+ endif ()
313
315
endforeach ()
314
316
endforeach ()
315
- arcane_add_test_sequential (material_heat_opt15_2small testMaterialHeat-2-small-opt15.arc "-We,ARCANE_DEBUG_MATERIAL_MODIFIER,2" )
317
+ if (ARCANE_HAS_ACCELERATOR_API )
318
+ arcane_add_test_sequential (material_heat_opt15_2small testMaterialHeat-2-small-opt15.arc "-We,ARCANE_DEBUG_MATERIAL_MODIFIER,2" )
319
+ arcane_add_accelerator_test_sequential (material_heat_accelerator "${ARCANE_TEST_PATH} /testMaterialHeat-2-opt15.arc" "-m 20" )
320
+ endif ()
316
321
317
322
###################
318
323
# WRAPPING '.Net' #
You can’t perform that action at this time.
0 commit comments