CNugteren / CLBlast

Tuned OpenCL BLAS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo

philipturner opened this issue · comments

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