-
Notifications
You must be signed in to change notification settings - Fork 102
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
Added 1 in 1 out support for new simplified testbench and updated additional designs #2065
base: main
Are you sure you want to change the base?
Conversation
int verify_passthrough_kernel(DATATYPE_IN1 *bufIn1, | ||
DATATYPE_OUT *bufOut, int SIZE, int verbosity) { |
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.
[clang-format] reported by reviewdog 🐶
int verify_passthrough_kernel(DATATYPE_IN1 *bufIn1, | |
DATATYPE_OUT *bufOut, int SIZE, int verbosity) { | |
int verify_passthrough_kernel(DATATYPE_IN1 *bufIn1, DATATYPE_OUT *bufOut, | |
int SIZE, int verbosity) { |
int res = xrt_test_run<DATATYPE_IN1, DATATYPE_OUT, | ||
initialize_bufIn1, |
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.
[clang-format] reported by reviewdog 🐶
int res = xrt_test_run<DATATYPE_IN1, DATATYPE_OUT, | |
initialize_bufIn1, | |
int res = xrt_test_run<DATATYPE_IN1, DATATYPE_OUT, initialize_bufIn1, |
@@ -44,6 +44,12 @@ struct args parse_args(int argc, const char *argv[]) { | |||
return myargs; | |||
} | |||
|
|||
|
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.
[clang-format] reported by reviewdog 🐶
int xrt_test_run(int IN1_VOLUME, int OUT_VOLUME, | ||
struct args myargs) { |
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.
[clang-format] reported by reviewdog 🐶
int xrt_test_run(int IN1_VOLUME, int OUT_VOLUME, | |
struct args myargs) { | |
int xrt_test_run(int IN1_VOLUME, int OUT_VOLUME, struct args myargs) { |
T3 *bufOut = bo_out.map<T3 *>(); | ||
|
||
init_bufIn1(bufIn1, IN1_VOLUME); | ||
init_bufOut(bufOut, OUT_VOLUME); // <<< what size do I pass it? reset with trace? |
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.
[clang-format] reported by reviewdog 🐶
init_bufOut(bufOut, OUT_VOLUME); // <<< what size do I pass it? reset with trace? | |
init_bufOut(bufOut, | |
OUT_VOLUME); // <<< what size do I pass it? reset with trace? |
errors += | ||
verify_results(bufIn1, bufOut, IN1_VOLUME, myargs.verbosity); |
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.
[clang-format] reported by reviewdog 🐶
errors += | |
verify_results(bufIn1, bufOut, IN1_VOLUME, myargs.verbosity); | |
errors += verify_results(bufIn1, bufOut, IN1_VOLUME, myargs.verbosity); |
@@ -83,20 +83,24 @@ def sequence(inTensor, outTensor, notUsed): | |||
|
|||
|
|||
try: | |||
if (len(sys.argv) < 4): |
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.
[black] reported by reviewdog 🐶
if (len(sys.argv) < 4): | |
if len(sys.argv) < 4: |
print("Vector size must be a multiple of 64 and greater than or equal to 512") | ||
in1_size = int(sys.argv[2]) | ||
if in1_size % 64 != 0 or in1_size < 512: | ||
print("In1 buffer size must be a multiple of 64 and greater than or equal to 512") |
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.
[black] reported by reviewdog 🐶
print("In1 buffer size must be a multiple of 64 and greater than or equal to 512") | |
print( | |
"In1 buffer size must be a multiple of 64 and greater than or equal to 512" | |
) |
Coverage ReportCreated: 2025-02-22 06:40Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 18.1.3 |
No description provided.