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

JavaCL: byte order mismatch exception on buffer creation #336

Closed
kazocsaba opened this issue Sep 14, 2012 · 1 comment
Closed

JavaCL: byte order mismatch exception on buffer creation #336

kazocsaba opened this issue Sep 14, 2012 · 1 comment
Labels

Comments

@kazocsaba
Copy link

To save us some headache, CLContext.createBuffer fails if the source buffer's byte order is different from the OpenCL byte order.

If there is a byte order mismatch, the exception message refers to the deprecated getKernelsDefaultByteOrder(); it should be updated to getByteOrder().

A lesser annoyance is that I was greeted with this exception when using a byte pointer. If it's possible, it'd be nice if the byte order check were skipped for Pointer data, since there it doesn't matter.

ochafik added a commit that referenced this issue Sep 23, 2012
…mentions to getKernelsDefaultByteOrder() by getByteOrder() (issue #336)
@ochafik
Copy link
Member

ochafik commented Sep 23, 2012

Hi Csaba,

Thanks for your report, this should now be fixed :-)

Cheers

@ochafik ochafik closed this as completed Sep 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants