Skip to content

Commit

Permalink
Revert "fallback"
Browse files Browse the repository at this point in the history
This reverts commit 89d8290.
  • Loading branch information
Zhenze Wang committed Sep 19, 2024
1 parent 191304a commit f43f8da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CustomOp {
VAIP_DLL_SPEC virtual ~CustomOp();

public:
virtual void Compute_base(const OrtApi* api, OrtKernelContext* context) const = 0;
virtual void Compute(const OrtApi* api, OrtKernelContext* context) const = 0;
};

} // namespace vaip_core
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ common::Status VitisAIExecutionProvider::Compile(const std::vector<FusedNodeAndG
}
};
compute_info.compute_func = [](FunctionState state, const OrtApi* api, OrtKernelContext* context) {
reinterpret_cast<vaip_core::CustomOp*>(state)->Compute_base(api, context);
reinterpret_cast<vaip_core::CustomOp*>(state)->Compute(api, context);
return Status::OK();
};
node_compute_funcs.push_back(compute_info);
Expand Down

0 comments on commit f43f8da

Please sign in to comment.