https://bugs.freedesktop.org/show_bug.cgi?id=88444

--- Comment #2 from Tor Lillqvist <t...@iki.fi> ---
Do I understand correctly, that you are noticing the array out-of-bound
references only sporadically, when the access happens to cross a page boundary
and point into a nonexistent page (or a read-protected page)? Even if the
out-of-bounds accesses happen presumably regularly, but as long as the result
is an access to an existing page, they aren't trapped?

Is there perhaps some "debug mode" in your OpenCL implementation, that would
cause it to keep track of the size of each buffer created with clCreateBuffer,
and then when a kernel has code that dereferenes a pointer to such a buffer (as
in the tmp0_0_4[get_group_id(1)]), it would check that the index does not cause
out-of-bound access? Kind of like a dynamic memory checker or memory debugger
for OpenCL. (Like Valgrind, Purify etc for host platform code.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to