-
Notifications
You must be signed in to change notification settings - Fork 82
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
Not working sorting by key with longer integers and OpenGL #215
Comments
I am sorry, I have little experience with OpenCL to OpenGL interaction. Also, I don't really understand what you are saying here. Could you provide a minimal, single-file example demonstrating the problem that I could compile and test (on linux)?
|
Error and code.
I'm solved first problem. But I get new error. Function: sorting
Also, I used boost compute.
|
You could try to reduce the block size (and the required shared memory size) by changing 256 to 128 here: Line 1791 in 6578ce2
Would that work for you? Also, since you are using boost.compute anyway, you could try to switch to their sort algorithm. |
I simplified code, but get errors. Error code: CL_MAP_FAILURE
Also
|
I am sorry, I can not reproduce this, so I won't be able to help you unless you give me a minimal compilable test-case demonstrating the problem. |
I think rewrite OpenGL API for C++ |
Hello. I trying add vexcl sorting with OpenGL buffers, that also uses int64.
https://github.com/acterhd/magnum-tracer/blob/master/include/tobject.hpp
I tried, but not working sorting for opengl buffers.
Although I kind of respect all the laws of bits and bytes. And again, I try with the structures but not c ++ compiled with them at all. So replaced with long2.
I thinking and means that
long == int64_t
.Also, I'm sure that SSBO and opencl buffer are equivalent.
The text was updated successfully, but these errors were encountered: