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

[OpenCL] Remove the cast kernel #1949

Closed
kif opened this issue Sep 15, 2023 · 0 comments · Fixed by #1960
Closed

[OpenCL] Remove the cast kernel #1949

kif opened this issue Sep 15, 2023 · 0 comments · Fixed by #1960

Comments

@kif
Copy link
Member

kif commented Sep 15, 2023

Use as_float inside the preprocess kernel.
https://registry.khronos.org/OpenCL/sdk/1.1/docs/man/xhtml/as_typen.html

Will saves one kernel launch, i.e. 0.1 ms per frame 10% gain.

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 a pull request may close this issue.

1 participant