LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.84k stars 642 forks source link

Invalid OpenCL CL_KERNEL_ARG_TYPE_QUALIFIER constant value #735

Closed mflament closed 2 years ago

mflament commented 2 years ago

Version

3.3.0 (nightly)

Platform

Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64

JDK

any

Module

OpenCL

Bug description

Expected constant value defined in Open CL heade:

#define CL_KERNEL_ARG_TYPE_QUALIFIER                0x1199

Actual value defined in template

"KERNEL_ARG_TYPE_QUALIFIER"..0x1999,

Stacktrace or crash log output

No response

mflament commented 2 years ago

This one took me some time, I was so blind :-) Fixed here https://github.com/LWJGL/lwjgl3/pull/736

Spasi commented 2 years ago

Thanks!