<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - OpenCL segmentation fault on AMD Radeon (Kaveri+R7) with memtestCL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102233#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - OpenCL segmentation fault on AMD Radeon (Kaveri+R7) with memtestCL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102233">bug 102233</a>
from <span class="vcard"><a class="email" href="mailto:jan.vesely@rutgers.edu" title="Jan Vesely <jan.vesely@rutgers.edu>"> <span class="fn">Jan Vesely</span></a>
</span></b>
<pre>Can you try initializing the num_gpu, num_cpu, num_accel variables?
clGetDeviceIDs returns CL_DEVICE_NOT_FOUND error if there are no devices
matching the requested type. This does not set num_devices output parameter to
0.
Unless the variables are initialized to 0, the loop on line 135 accesses devids
array out of bounds.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>