-
Notifications
You must be signed in to change notification settings - Fork 15
update relu_kernel.mlir #236
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
Changes from 6 commits
e9a3e14
5c3a2cf
9b1870b
0df6b87
2f836d0
89135a3
a95612c
ea84944
58e56f7
94ffed9
d751c36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,11 +1,9 @@ | ||||||
| // Compile the C kernel to LLVM IR (let clang handle headers and macros). | ||||||
| // Use -I %S so local headers (relu.h, polybench.h) are visible. | ||||||
| // RUN: clang -S -emit-llvm -O3 -fno-vectorize -fno-unroll-loops -std=c11 \ | ||||||
| // RUN: -I %S/../../benchmark/CGRA-Bench/kernels/relu -DSMALL_DATASET \ | ||||||
| // RUN: -o %t-kernel-full.ll %S/../../benchmark/CGRA-Bench/kernels/relu/relu.c | ||||||
| // Compile the int ReLU C++ kernel to LLVM IR. | ||||||
|
||||||
| // Compile the int ReLU C++ kernel to LLVM IR. | |
| // Compile the integer-based ReLU C++ kernel (operating on integer arrays) to LLVM IR. |
Copilot
AI
Jan 15, 2026
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.
The FileCheck command for the MAPPING prefix is duplicated on line 29 and line 34. Line 34 appears to be redundant as line 29 already checks the same file with the same prefix. Consider removing the duplicate on line 34, or if both are intentional, add a comment explaining why the same check needs to run twice.
Uh oh!
There was an error while loading. Please reload this page.