Archived
tests: kbench_m2xfp4 only in a HIP build -- it loads libr4d
The test from the m2xfp merge names --kernels libref:libr4d; a CPU-only or SYCL build has no libr4d, so the replay loaded nothing and failed in 0.02 s. Guarded on RAD_HIP_FOUND as the tree's other libr4d tests are. ctest -LE 'gpu|oot' after the merge: 84/89, the five known failures (images_test and videos_test: no FFmpeg; glm5next, gbnf_shard2, quant_ggml: CPU budget). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1
This commit is contained in:
1 parent
6fbe59b7b0
commit
6174d5ee5c
1 file changed
+3
-2
@@ -646,8 +646,9 @@ endif()
|
||||
|
||||
# The M2XFP4 rows over the 27B-trunk fixture set (see the root CMakeLists): the four max-tok
|
||||
# passes replayed together, covering the m2xfp4a8 decode row's whole M ladder. Scoped to
|
||||
# libref:libr4d: the m2 arm of the other host library is that library's own to bring up.
|
||||
if(TARGET rad-kbench AND EXISTS ${CMAKE_SOURCE_DIR}/data/kernels_m2xfp4_m128.rkb)
|
||||
# libref:libr4d: the m2 arm of the other host library is that library's own to bring up. It needs
|
||||
# libr4d, so only a HIP build has it (a CPU-only or SYCL build has no libr4d to load).
|
||||
if(RAD_HIP_FOUND AND TARGET rad-kbench AND EXISTS ${CMAKE_SOURCE_DIR}/data/kernels_m2xfp4_m128.rkb)
|
||||
add_test(NAME kbench_m2xfp4
|
||||
COMMAND rad-kbench --home ${RAD_PLUGIN_OUT} --kernels libref:libr4d --max-cases 1
|
||||
--no-ref --strict --coverage ${RAD_KBENCH_ROWS}
|
||||
|
||||
Reference in new issue
Block a user