Closed ergawy closed 8 years ago
Thanks for reporting. Can you give me a self-contained version I can easily debug?
Sorry for the long example. I updated the issue with a shorter version.
thanks. But I was more asking for self-contained version. A file which works out-of-the-box - where all built-in functions are already declared and so forth.
Oh my bad again. Updated the code.
I've updated the code to include declarations of cuda
and reserve_shared
intrinsics.
The code SegFaults on the master branch, but works on the alternate_evalops branch.
Thanks both of you. So, we are about to merge alternate_evalop
into master
. Should I open a pull request so we can discuss any remaining issues and by doing this close this bug, too?
Sounds like a plan!
just looked into it. The bug should in principal also affect alternate_evalop
. It's a bit hard to write a test case for that. So I'm closing this now.
This code fragment:
results in an assertion failure:
at:
The reserve_shared call triggers the problem. Also the problem is only triggered when more than launch calls are present.