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
8addda231b
commit
ea065f596c
11 files changed
+362
-10
No files matched your search
@@ -0,0 +1,9 @@
|
||||
/* xe2_ops.h -- every libxe2 launch, by op. The rows that select them are in xe2_rows.cpp. */
|
||||
#pragma once
|
||||
#include "rad_abi.h"
|
||||
|
||||
namespace xe2 {
|
||||
|
||||
int add(const RadArgs* a, RadStream s);
|
||||
|
||||
} // namespace xe2
|
||||
Reference in new issue
Block a user