Skip to content
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

[NNPA] Check return values of zdnn calls. (follow-up of PR#2267) #2338

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
950b66a
Check return value of zdnn_softmax. This patch still causes errors in…
negiyas May 25, 2023
31f6d20
Merge branch 'main' into work_check_zdnn_api_return_value
negiyas May 25, 2023
13b256e
Merge branch 'main' into work_check_zdnn_api_return_value
negiyas May 25, 2023
42b6522
Merge branch 'main' into pr2267
imaihal Jun 16, 2023
d81d8b9
Enable elementwise ops.
imaihal Jun 22, 2023
99a6937
Add Exit func call.
imaihal Jun 22, 2023
3e31211
Add ifThenElseTest for new ifThenElse func.
imaihal Jun 22, 2023
4bf0c77
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jun 22, 2023
1146c86
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jun 27, 2023
83995ab
Update equalOrFailure()
imaihal Jun 27, 2023
3a8cc53
Remove test code for IfThenElse.
imaihal Jun 27, 2023
10d5da7
Display return value as hex.
imaihal Jun 28, 2023
461b3eb
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jun 28, 2023
8eb3981
Add an option to enable exit when returning an error.
imaihal Jun 29, 2023
4003d5e
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jun 29, 2023
035beb8
format
imaihal Jun 29, 2023
e1ac5be
Apply to other tos
imaihal Jun 29, 2023
322defc
Add lit tests.
imaihal Jun 29, 2023
3f5e979
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jun 29, 2023
6443b02
Change option name
imaihal Jun 29, 2023
6b615ab
Merge branch 'main' into check_return_val_update_pr2267
imaihal Jul 2, 2023
58c81d1
Merge branch 'main' into check_return_val_update_pr2267
imaihal Aug 2, 2023
1da04af
Merge branch 'main' into check_return_val_update_pr2267
imaihal Aug 3, 2023
7b58e35
Merge branch 'main' into HEAD
imaihal Aug 3, 2023
24ea3ac
Merge branch 'check_return_val_update_pr2267' into check_return_val_u…
imaihal Aug 3, 2023
00c22a5
Fix commit id for third_party/mlir-hlo.
imaihal Aug 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Accelerators/Accelerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ class Accelerator {

/// Define rewrite patterns to be used with KrnlToLLVM.
virtual void rewritePatternKrnlToLLVM(mlir::RewritePatternSet &patterns,
mlir::LLVMTypeConverter &typeConverter, mlir::MLIRContext *ctx) const = 0;
mlir::LLVMTypeConverter &typeConverter, mlir::MLIRContext *ctx,
bool funcCallErrorExit) const = 0;

protected:
static llvm::SmallVector<Accelerator *, 4> acceleratorTargets;
Expand Down
Loading