-
Notifications
You must be signed in to change notification settings - Fork 2
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
Segmentation fault in Filecache::loadMaps #60
Comments
Unfortunately I was not able to reproduce this error. Are the input files located at the correct locations? |
Okay, I figured this one out. On my laptop the initial call to This makes me wonder: Do we need the entire 16GiB at once? Or could a streaming dataflow be implemented? |
Thanks for this information! We will check for We decided to load the data upfront because it would probably bottleneck the algorithm later. It is later intended for this algorithm to get data directly from the detector via network. Therefore, streaming the data from disk might affect benchmarks unfairly and negatively which is why we decided to load the data up front. This means loading the gain maps (~12MiB), the pedestal initialization data (~3GiB) and the main data (~10 GiB). If you want to execute the algorithm with less main memory required, you could reduce the main data set and adjust the
So if you would reduce the main data set to 1,000 frames and adjust the Alternatively, streaming from disk could be implemented by loading small chunks on demand and feeding them into the |
I am currently trying to get my SYCL port to run. Unfortunately it crashes with a segmentation fault right at the first call site of
FileCache::loadMaps()
. At first I believed this to be an issue in my SYCL port but it turns out that this happens with vanilla Alpaka (currentdevelop
) and OpenMP, too.gdb output:
Compiler invocation:
The changes I've made to the jungfrau-photoncounter code are SYCL related and should only affect the device code (all changes here), so I believe this to be a bug in vanilla jungfrau-photoncounter.
The text was updated successfully, but these errors were encountered: