<div dir="ltr"><div><div><div><div><div><div><div><div>Hi community!<br><br></div>I have a some kind of strange error. When I execute the test tests/cl/api/get-device-ids.c, num_device_types is always zero (please, not that such variable should not depend on the hardware/drivers).<br><br></div>To check what is going on, I'm printing some variables:<br><br><span style="font-family:monospace,monospace">env->version = 12<br>piglit_cl_device_type_num_1_0 = 0<br>piglit_cl_device_type_num_1_1 = 0<br>piglit_cl_device_type_num_1_2 = 0<br>num_device_types = 0</span><br><br></div>So it seems that piglit_cl_device_type_num_1_x variables have not be set at all. However, I checked that the test is linked against lib/libpiglitutil.so.0.<br><br></div>I'm using the last git version from here (Ubuntu 15.10):<br><span style="font-family:monospace,monospace">git://<a href="http://anongit.freedesktop.org/git/piglit">anongit.freedesktop.org/git/piglit</a></span><br><br></div>I did not check other expansions of PIGLIT_CL_ENUM_NUM.<br><br></div>Any hint on what is going wrong will be welcomed.<br><br></div>Thanks!<br></div>Pepe<br></div>