Skip to content

Commit

Permalink
Fix intrinsic wrapper for aie2 acquire/release
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenneuendorffer committed Sep 8, 2023
1 parent 878846a commit 6e01db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
/// when parsing .ll code containing standard intrinsic names, so these symbols
/// are defined that way.

extern "C" void llvm___aie___lock___acquire___reg(unsigned id, unsigned val) {
extern "C" void llvm___aie2___acquire(unsigned id, unsigned val) {
acquire_equal(id, val);
}
extern "C" void llvm___aie___lock___release___reg(unsigned id, unsigned val) {
extern "C" void llvm___aie2___release(unsigned id, unsigned val) {
release(id, val);
}
extern "C" void llvm___aie___event0() { event0(); }
Expand Down

0 comments on commit 6e01db4

Please sign in to comment.