Hello Marco13!
I’ve got some problems with JOCL again, in the moment, it seems to me like there are „gaps“ in the code…
Problems i’ve encountered in last hour:
- [documentation bug] → class CL → clGetDeviceInfo: „CP_FP_FMA“ instead of „CL_FP_FMA“ (at least 2x times)
- [missing code] class CL: constant CL_DEVICE_DOUBLE_FP_CONFIG is missing
- [missing code] class CL: constant CL_DEVICE_HALF_FP_CONFIG is missing
(CL_DEVICE_SIMPLE_FP_CONFIG is present, that’s weird)
last two are not documentation bugs, it doesn’t compile at all:
error: not found: value CL_DEVICE_DOUBLE_FP_CONFIG
althought documentation suggests that it should. I’ve searched for „misspelled“ variants of these constants in your source code, but couldn’t find anything there. Strange coincidence: same constants are missing in the official khronos-documentation: did you use it only to create documentation, or did you generated the code from that somehow?
I’ve looked in cl.h from this page: http://www.khronos.org/registry/cl/ but this constant isn’t defined there either. Looked this up in OpenCL-spec: the constant is mentioned on page 228, but there’s no explicit value
Question: how can i obtain the values of those missing constants?
Thanks!
greetz, 0x7F800000