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

[Filter] unnecessary initialization #3720

Merged
merged 1 commit into from
Apr 20, 2022
Merged

[Filter] unnecessary initialization #3720

merged 1 commit into from
Apr 20, 2022

Conversation

jaeyun-jung
Copy link
Collaborator

@jaeyun-jung jaeyun-jung commented Apr 12, 2022

Remove unnecessary init while parsing accel string.

  • fetch fw info to parse accel for the case if nn framework is not opened.
  • check fw info if open() callback of nn framework is not written.

Signed-off-by: Jaeyun jy1210.jung@samsung.com

@taos-ci
Copy link
Collaborator

taos-ci commented Apr 12, 2022

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #3720. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaeyun-jung, 💯 All CI checkers are successfully verified. Thanks.

Copy link
Member

@anyj0527 anyj0527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@myungjoo
Copy link
Member

Is this ok with the usage in _gtfc_setprop_ACCELERATOR ( ) ?

If it's not ok, for the optimization you've mentioned, we may add a init-check member in GstTensorFilterFrameworkInit.

Copy link
Contributor

@songgot songgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Remove unnecessary init while parsing accel string.
- fetch fw info to parse accel for the case if nn framework is not opened.
- check fw info if open() callback of nn framework is not written.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
@jaeyun-jung
Copy link
Collaborator Author

jaeyun-jung commented Apr 14, 2022

To reviewers, 2022-04-14 PR updated. Please review the changes again.

  • consider fetching framework info if nnfw is not opened.

Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaeyun-jung, 💯 All CI checkers are successfully verified. Thanks.

@myungjoo
Copy link
Member

To reviewers, 2022-04-14 PR updated. Please review the changes again.

  • consider fetching framework info if nnfw is not opened.

PTAL: @songgot @anyj0527

@anyj0527
Copy link
Member

To reviewers, 2022-04-14 PR updated. Please review the changes again.

  • consider fetching framework info if nnfw is not opened.

PTAL: @songgot @anyj0527

LGTM 👍

@myungjoo myungjoo merged commit f0a938a into nnstreamer:main Apr 20, 2022
@jaeyun-jung jaeyun-jung deleted the filter-parse-accel branch April 20, 2022 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants