ocl icon indicating copy to clipboard operation
ocl copied to clipboard

Add warning regarding different struct layouts on Apple M1

Open MoritzKn opened this issue 2 years ago • 3 comments

As discussed in #210

MoritzKn avatar Sep 13 '22 09:09 MoritzKn

Let's see what you determine is the best solution for your issue based on my latest comment in #210 then we can update this with some documentation for future users encountering the same problem.

c0gent avatar Sep 15 '22 15:09 c0gent

My understanding was that repr “C would create C ABI compatible structs (and other data types). Hence I interpreted the comment/documentation on OclPrm as allowing structs to be OclPrm as long as they have repr “C. If that's not the case I'd simply clarify that statement. What data types does the statement still apply to? Single fields structs? Unions?

MoritzKn avatar Sep 27 '22 19:09 MoritzKn

Ok I'll leave this open until I can come up with more clarifying documentation at some point.

c0gent avatar Nov 06 '22 19:11 c0gent