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

[Wait for #2727] [ GPU/OpenCL ] enable X86 Opencl with ENABLE_FP16=false #2783

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

EunjuYang
Copy link
Contributor

This PR works upon #2727.

  • This PR updates some open_cl codes to make it valid without fp16 option (i.e., enable_fp16=false).
  • The open_cl codes were written without considering the option for FP16 is enabled or not. Thus, this PR updates the code related to this.
  • Bugfix after rebasing [ GPGPU ] enable X86 OpenCL with some fixes #2727 is included. (b79273c)
  • to-do : OpenCL unit test for x86 is not enabled yet.

Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

jijoongmoon and others added 4 commits November 4, 2024 11:29
This PR enables meson build with opencl for X86.
Also, fix some unittest case errors and types.

Resolves:

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <[email protected]>
- This commit is related to nnstreamer#2774.
- The test `setPropertiesInvalid_n_gpu` was failed with
LayerPropertySemantics, which tests negative case for some layers not
implemented for GPU.
- This test should be enabled later.

Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Eunju Yang <[email protected]>
- add missing #endif
- add memory free code, causing possible memory-leak
- enable opencl x86

Signed-off-by: Eunju Yang <[email protected]>
- This commit resolves nnstreamer#2776
- This commit separate FP16-related functions from _cl.cpp file.
- Minor bug is fixed

Signed-off-by: Eunju Yang <[email protected]>
@taos-ci
Copy link
Collaborator

taos-ci commented Nov 4, 2024

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2783. 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://ci.nnstreamer.ai/.

@EunjuYang EunjuYang self-assigned this Nov 4, 2024
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.

@EunjuYang, 💯 All CI checkers are successfully verified. Thanks.

@EunjuYang EunjuYang removed their assignment Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants