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

Typo #440

Closed
philipturner opened this issue Jun 21, 2022 · 0 comments
Closed

Typo #440

philipturner opened this issue Jun 21, 2022 · 0 comments

Comments

@philipturner
Copy link

In src/kernels/common.opencl, there is a typo. I do not know whether it is worth it to make a PR for the typo, or whether someone should scan the entire code base and fix multiple typos at once.

#ifndef CUDA
// Enable support for double-precision
#if PRECISION == 16
#pragma OPENCL EXTENSION cl_khr_fp16: enable
#endif
// Enable support for double-precision
#if PRECISION == 64 || PRECISION == 6464
#pragma OPENCL EXTENSION cl_khr_fp64: enable
#endif
#endif

The first comment should say "Enable support for half-precision", but it says "double" instead of "half".

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

No branches or pull requests

1 participant