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

[ GPU ] split kernel registration from forwarding function in addition_layer_cl and transpose_cl #2810

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

Conversation

EunjuYang
Copy link
Contributor

[ GPU/OpenCL ] change addition_layer_cl and transpose_cl to inherit LayerImplCl

Self evaluation:

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

@taos-ci
Copy link

taos-ci commented Nov 29, 2024

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

Copy link

@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.

- This commit updates addition_layer_cl.cpp/h to inherit LayerImplCl.
- This commit implements registerClKernels() of addition_layer_cl layer.
- This commit update cl_context.cpp (applying addition_layer_cl's update)

Self evaluation:

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

Signed-off-by: Eunju Yang <[email protected]>
- This commit updates transpose_cl.cpp/h to inherit LayerImplCl.
- This commit implements registerClKernels() of transpose_cl layer.
- This commit update cl_context.cpp (applying transpose_cl's update)
- This is the last commit to complete nnstreamer#2723.
- This can close nnstreamer#2723.

Self evaluation:

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

Signed-off-by: Eunju Yang <[email protected]>
@EunjuYang EunjuYang force-pushed the gpu_layer_refactor_add_transpose branch from d325aee to 64f3d0d Compare December 2, 2024 02:27
@EunjuYang EunjuYang changed the title [ Wait for #2785 ] [ GPU ] split kernel registration from forwarding function in addition_layer_cl and transpose_cl [ GPU ] split kernel registration from forwarding function in addition_layer_cl and transpose_cl Dec 2, 2024
Copy link

@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.

Copy link
Contributor

@baek2sm baek2sm left a comment

Choose a reason for hiding this comment

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

LGTM

* cl_blas_kernels and there is no specific kernels for this. If there are
* specific kernels for this, it should be updated to register the kernels .
*/
static bool registerClKernels() { return true; };
Copy link
Member

@myungjoo myungjoo Dec 20, 2024

Choose a reason for hiding this comment

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

does it register ClKernels?
or
does this check if CLKernels are registered or not?

(Clarify at brief)

@myungjoo
Copy link
Member

And if a PR is waiting for too long and you think it's ready, please ping people.

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.

[ GPU ] GPU Kernel creation time
4 participants