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

Bug: segmentation fault occurs result_diffs_buffer.read().enq() #1

Open
zacky1972 opened this issue Aug 7, 2018 · 1 comment
Open

Comments

@zacky1972
Copy link

zacky1972 commented Aug 7, 2018

2dims_work_size_with_loop_in_kernel causes segmentation fault the following environment:

MacBook Air (11-inch, Mid 2013)
Processor: 1.3 GHz Intel Core i5
Memory: 4GB 1600 MHz DDR3
Graphics: Intel HD Graphics 5000 1536 MB

The segmentation fault occurs here:

    let mut result_diffs = vec![0; result_diffs_buffer.len()];
    result_diffs_buffer.read(&mut result_diffs).enq().unwrap();

result_diffs_buffer.len() is 1360

Rust version is as follows:

$ rustc --version
rustc 1.27.0 (3eda71b00 2018-06-19)

@asukiaaa
Copy link
Owner

asukiaaa commented Aug 7, 2018

I updated code to use latest ocl (0.19) on Rust1.28.0.
Try with 5bbcd92
If it does not solve your problem, create issue and report your bug on ocl .
https://github.com/cogciprocate/ocl

Thank you.

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

2 participants