Archived
libxe2: the Intel kernel library's skeleton, and its first op, add
libxe2 is a kernel plugin like any other, built by rad_add_plugin from the icpx sub-build into the build tree's $RADIANCE_HOME. It declares no schemas (every op it serves is libref's vocabulary), only device rows, written with designated initialisers. xe2_common.h holds what every kernel needs: the launch's queue (rad_sycl.h), row views over padded operands, refusals that name the geometry, and libref's own dtype conversions so results round where the reference's do. add passes rad-kbench against libref at tolerance zero, on the recorded fixture (30 cases) and on MiniCPM5-2B's container (20 cases), inside guarded allocations. In a SYCL build the kbench replays run libxe2 on the card, so they are labelled sycl there, as they are gpu in a HIP build. scripts/sycl/notify.sh posts to the Discord webhook when the port needs the user. 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
370a906c70
commit
41a3c32a65
11 files changed
+362
-10
No files matched your search
@@ -599,6 +599,11 @@ set(RAD_KBENCH_LABELS "kbench")
|
||||
if(RAD_HIP_FOUND AND TARGET libr4d)
|
||||
set(RAD_KBENCH_LABELS "kbench;gpu")
|
||||
endif()
|
||||
# A SYCL build's replay runs libxe2 on the Intel card, so it is a card test there (label sycl; load
|
||||
# the oneAPI environment first).
|
||||
if(RAD_SYCL_FOUND)
|
||||
set(RAD_KBENCH_LABELS "kbench;sycl")
|
||||
endif()
|
||||
set(RAD_KBENCH_ROWS ${CMAKE_SOURCE_DIR}/data/kbench_rows)
|
||||
if(TARGET rad-kbench AND EXISTS ${CMAKE_SOURCE_DIR}/data/kernels.rkb)
|
||||
add_test(NAME kbench
|
||||
|
||||
Reference in new issue
Block a user