[Bug libgomp/122281] [OpenMP][SIMT] libgomp: cuCtxSynchronize error: an illegal memory access was encountered in code that reserves memory correctly.
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 13:26:55 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122281
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #9)
> TODO
> Check whether the original issue of comment 0 is reproducible, i.e. the
> runtime message issue that shows the message:
> libgomp: cuMemFree_v2 error: an illegal memory access was encountered
With mainline (i.e. with the change of comment 8) used for compiling
sparsetests.cpp
(with options as in comment 3), it WORKS now FINE and I get three times the
same matrix output – of which the third is from running on the GPU (I see 5
kernels being started).
[I use RTX A1000 6GB Laptop with Driver Version: 580.95.05 & CUDA Version:
13.0.]
→ Thus, I cannot reproduce neither the issue of this PR, comment 0 [nor of PR
122280 on this system]. - Maybe I should try some other systems and see whether
it is there reproducible.
More information about the Gcc-bugs
mailing list