Skip to content

Commit 98264f4

Browse files
authored
Merge pull request QMCPACK#5591 from ylee88/benchmark-batched-blas
Add benchmark tests for batched BLAS routines
2 parents ceb830b + 364807b commit 98264f4

2 files changed

Lines changed: 441 additions & 0 deletions

File tree

src/Platforms/tests/CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,17 @@ if(USE_OBJECT_TARGET)
3232
endif()
3333

3434
add_unit_test(${UTEST_NAME} 1 1 $<TARGET_FILE:${UTEST_EXE}>)
35+
36+
if(BUILD_MICRO_BENCHMARKS)
37+
set(UTEST_EXE benchmark_accelBLAS)
38+
set(UTEST_NAME deterministic-unit_${UTEST_EXE})
39+
40+
add_executable(${UTEST_EXE} benchmark_AccelBLAS.cpp)
41+
target_link_libraries(${UTEST_EXE} platform_LA platform_runtime catch_main containers)
42+
43+
if(USE_OBJECT_TARGET)
44+
target_link_libraries(${UTEST_EXE} platform_omptarget_LA)
45+
endif()
46+
47+
add_unit_test(${UTEST_NAME} 1 1 $<TARGET_FILE:${UTEST_EXE}>)
48+
endif(BUILD_MICRO_BENCHMARKS)

0 commit comments

Comments
 (0)