From b749b3c59ba5c24c31260e89a373dde99c82e9a3 Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Mon, 15 Jul 2024 11:21:32 -0700 Subject: [PATCH] [AIE1] Add some missing stream wrappers There was a test for this, but it wasn't getting run. --- aie_runtime_lib/AIE/chess_intrinsic_wrapper.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aie_runtime_lib/AIE/chess_intrinsic_wrapper.cpp b/aie_runtime_lib/AIE/chess_intrinsic_wrapper.cpp index ce39b86c89..337565c71e 100644 --- a/aie_runtime_lib/AIE/chess_intrinsic_wrapper.cpp +++ b/aie_runtime_lib/AIE/chess_intrinsic_wrapper.cpp @@ -25,3 +25,12 @@ extern "C" void llvm___aie___lock___acquire___reg(unsigned id, unsigned val) { extern "C" void llvm___aie___lock___release___reg(unsigned id, unsigned val) { release(id, val); } + +extern "C" int llvm___aie___get___ss(int stream) { return get_ss(stream); } +extern "C" float llvm___aie___getf___ss(int stream) { return getf_ss(stream); } +extern "C" int llvm___aie___get___ss0___tlast() { return get_ss0_tlast(); } +extern "C" int llvm___aie___get___ss1___tlast() { return get_ss1_tlast(); } +extern "C" int llvm___aie___get___wss0___tlast() { return get_wss0_tlast(); } +extern "C" int llvm___aie___get___wss1___tlast() { return get_wss1_tlast(); } +extern "C" void llvm___aie___put___ms(int idx_ms, int a) { put_ms(idx_ms, a); } +//extern "C" void llvm___aie___put___ms___tlast(int idx_ms, int a, int tlast) { put_ms(idx_ms, a, tlast); } \ No newline at end of file