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

Fix for issue #163 #185

Merged
merged 1 commit into from Feb 11, 2019
Merged

Fix for issue #163 #185

merged 1 commit into from Feb 11, 2019

Conversation

ghost
Copy link

@ghost ghost commented Feb 6, 2019

The local variable was not at kernel function scope as required in the OpenCL spec.
https://www.khronos.org/registry/OpenCL/sdk/2.0/docs/man/xhtml/local.html

Quote:
"if (...) { // example of variable in __local address space but not // declared at __kernel function scope. local float c; // not allowed. }"

Note:
I also had to symlink the ROCm OpenCL lib to build since it wasn't in /usr/lib/ where it's expected.
sudo ln -s /opt/rocm/opencl/lib/x86_64/libOpenCL.so /usr/lib/libOpenCL.so

Fix for issue #163.
The local variable was not at kernel function scope as required in the OpenCL spec.
https://www.khronos.org/registry/OpenCL/sdk/2.0/docs/man/xhtml/local.html

Quote:
"if (...) { // example of variable in __local address space but not // declared at __kernel function scope. local float c; // not allowed. }"
@hashmap hashmap merged commit 70fe529 into mimblewimble:master Feb 11, 2019
@hashmap
Copy link
Contributor

hashmap commented Feb 11, 2019

Thanks for your contribution!

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

Successfully merging this pull request may close these issues.

1 participant