OpenCL spec v2.0 s6.13.6:
gentype select (gentype a,
gentype b,
igentype c)
gentype select (gentype a,
gentype b,
ugentype c)
igentype and ugentype must have the same number
of elements and bits as gentype.
Paths
| Differential D36259
[OpenCL] Remove extra select functions from opencl-c.h ClosedPublic Authored by yaxunl on Aug 2 2017, 10:22 PM.
Details Summary OpenCL spec v2.0 s6.13.6: gentype select (gentype a, gentype select (gentype a, igentype and ugentype must have the same number
Diff Detail
Event TimelineComment Actions Out of curiosity: how did you detect this? This revision is now accepted and ready to land.Aug 2 2017, 11:47 PM Comment Actions
Some user code generated call to a select function which we do not have in library, then Brian found that there are extra select function in opencl-c.h. I guess that's just good luck. We still do not have a systematic approach to test opencl-c.h. Closed by commit rL310160: [OpenCL] Remove extra select functions from opencl-c.h (authored by yaxunl). · Explain WhyAug 4 2017, 7:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 109845 cfe/trunk/lib/Headers/opencl-c.h
|