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

Struct issues in SDAccel #22

Open
rachitnigam opened this issue Oct 29, 2019 · 0 comments
Open

Struct issues in SDAccel #22

rachitnigam opened this issue Oct 29, 2019 · 0 comments

Comments

@rachitnigam
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant