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

Missing errcode_ret pararmeter for clLinkProgram. #561

Closed
kurtzmarc opened this issue May 22, 2020 · 1 comment
Closed

Missing errcode_ret pararmeter for clLinkProgram. #561

kurtzmarc opened this issue May 22, 2020 · 1 comment

Comments

@kurtzmarc
Copy link

The Javadoc for LWJGL's clLinkProgram mentions a errcode_ret value for obtaining the error code when the program fails to link.

Otherwise clLinkProgram returns a NULL program object with an appropriate error in errcode_ret.

However there is no parameter for IntBuffer/int[] errcode_ret in the LWJGL API call. The OpenCL specification for clLinkProgram shows that there is a parameter for obtaining the errcode but this isn't exposed in the API clLinkProgram(..., cl_int *errcode_ret). A quick look through the javadoc and I also see clCreateSubDevices has this same issue.

@Spasi
Copy link
Member

Spasi commented May 22, 2020

Duplicates #560. The fix is coming soon.

@Spasi Spasi closed this as completed May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants