-
Notifications
You must be signed in to change notification settings - Fork 35
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
Running OpenCL kernel multiple times on Parallella #33
Comments
Does the error occur after a few (successful) iterations and is it always the same iteration? abdullah wrote:
David Richie, Ph.D. |
Yes but not always the same iteration. |
Hello! The behaviour is exactly the same as browndeer describes: e_alloc(): mmap failure. I am resetting and initializing the whole Epiphany on each iteration (i know I shouldn't in a production software, but this one is just for debugging; I am going to change that anyway and test again... but not sure if it will help). Thanks a lot. |
I want to execute an OpenCL kernel multiple times. I modified hello-opencl example as follows:
It sometimes works, sometimes the terminal freezes up somewhere within the code and the operating system crashes.
The reason may be that memory is not freed properly.
During running the loop, I get the following error after a while (sometimes also the operating system crashes):hello-opencl.elf: e_alloc(): mmap failure.hello-opencl.elf:ERROR: Can't allocate external memory buffer![2931] clmesg WARNING: e32pth_engine_needham.c(360): hardcoded to devnum=0The text was updated successfully, but these errors were encountered: