You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be some issue with passing an array to structs to OpenCL. SDAccel uses OpenCL 1.2 under the hood.
Here is an issue claiming that the structs might not have the same layout in both the host and the device.
Other issues recommend using __attribute(packed)__ on the struct being passed from host to device. Briefly tried using it when debugging bfs-bulk. Did not work.
Figure out which kinds of structs are allowed in SDAccel.
The text was updated successfully, but these errors were encountered:
There seems to be some issue with passing an array to structs to OpenCL. SDAccel uses OpenCL 1.2 under the hood.
Here is an issue claiming that the structs might not have the same layout in both the host and the device.
Other issues recommend using
__attribute(packed)__
on the struct being passed from host to device. Briefly tried using it when debugging bfs-bulk. Did not work.Figure out which kinds of structs are allowed in SDAccel.
The text was updated successfully, but these errors were encountered: