-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize dynamic objectFifo #1934
Conversation
Coverage ReportCreated: 2024-12-09 21:41Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 14.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
clang-format
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 220 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 222 in e9a54f7
int mlir_aie_release_out_cons_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 224 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 226 in e9a54f7
int mlir_aie_acquire_out_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 228 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 230 in e9a54f7
int mlir_aie_release_out_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 232 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 234 in e9a54f7
int mlir_aie_acquire_out_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 236 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 238 in e9a54f7
int mlir_aie_release_out_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 240 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 242 in e9a54f7
int mlir_aie_acquire_in_cons_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 244 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 246 in e9a54f7
int mlir_aie_release_in_cons_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 248 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 250 in e9a54f7
int mlir_aie_acquire_in_cons_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 252 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 254 in e9a54f7
int mlir_aie_release_in_cons_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 256 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,2), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 258 in e9a54f7
int mlir_aie_acquire_in_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 260 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 262 in e9a54f7
int mlir_aie_release_in_prod_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 264 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 266 in e9a54f7
int mlir_aie_acquire_in_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 268 in e9a54f7
return XAie_LockAcquire(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 270 in e9a54f7
int mlir_aie_release_in_cons_lock(aie_libxaie_ctx_t* ctx, int value, int timeout) { |
[clang-format] reported by reviewdog 🐶
mlir-aie/programming_examples/dyn_objFifo/sliding_window/build/aie.mlir.prj/aie_inc.cpp
Line 272 in e9a54f7
return XAie_LockRelease(&(ctx->DevInst), XAie_TileLoc(0,0), XAie_LockInit(id,value), timeout); |
Before merging please move the dynamic object fifo tests to |
98fc01e
to
ffcc4e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
Using add-compare-subtract alternative to replace modulo operation in dynamic objectFifo lowering.