-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers alloc and free resources by themself
A driver should alloc and free resources by himself instead of the caller, considering multi-driver exists, the caller can not hold ctxs for all drivers, so drv.init malloc private ctx and drv.exit free. Add driver as para of alg ops, not only for getting private ctx, but easier for multi-driver support. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
- Loading branch information
1 parent
9ec9b1d
commit 89f64c0
Showing
13 changed files
with
212 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.