<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">> possibly a name demangling problem?<br>
> To find out, try this<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">The result is:<br><br><br>platform number 1<br>platform_profile "FULL_PROFILE"<br>platform_name "Intel Gen OCL Driver"<br>platform_vendor "Intel"<br>platform_version "OpenCL 1.2 beignet 1.2"<br>platform_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"<br>Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)<br>See README.md or <a href="http://www.freedesktop.org/wiki/Software/Beignet/">http://www.freedesktop.org/wiki/Software/Beignet/</a><br>Beignet: Warning - overriding self-test failure<br>device_profile "FULL_PROFILE"<br>device_name "Intel(R) HD Graphics Haswell GT1 Server"<br>device_vendor "Intel"<br>device_version "OpenCL 1.2 beignet 1.2"<br>device_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"<br>device_opencl_c_version "OpenCL C 1.2 beignet 1.2"<br>23 image formats are supported<br>[CL_R CL_UNORM_INT8]<br>[CL_R CL_UNORM_INT16]<br>[CL_R CL_SIGNED_INT8]<br>[CL_R CL_SIGNED_INT16]<br>[CL_R CL_SIGNED_INT32]<br>[CL_R CL_UNSIGNED_INT8]<br>[CL_R CL_UNSIGNED_INT16]<br>[CL_R CL_UNSIGNED_INT32]<br>[CL_R CL_HALF_FLOAT]<br>[CL_R CL_FLOAT]<br>[CL_RG CL_UNORM_INT8]<br>[CL_RG CL_UNSIGNED_INT8]<br>[CL_RGBA CL_UNORM_INT8]<br>[CL_RGBA CL_UNORM_INT16]<br>[CL_RGBA CL_SIGNED_INT8]<br>[CL_RGBA CL_SIGNED_INT16]<br>[CL_RGBA CL_SIGNED_INT32]<br>[CL_RGBA CL_UNSIGNED_INT8]<br>[CL_RGBA CL_UNSIGNED_INT16]<br>[CL_RGBA CL_UNSIGNED_INT32]<br>[CL_RGBA CL_HALF_FLOAT]<br>[CL_RGBA CL_FLOAT]<br>[CL_BGRA CL_UNORM_INT8]<br>builtin_kernel_block_motion_estimate_intel() [SUCCESS]<br>runtime_climage_from_boname() Can't open Display, skipping.<br> [SUCCESS]<br>compiler_overflow_add_ulong4() [SUCCESS]<br>compiler_overflow_add_uint4() [SUCCESS]<br>compiler_overflow_add_ushort4() [SUCCESS]<br>compiler_overflow_add_uchar4() [SUCCESS]<br>compiler_overflow_sub_uint4() [SUCCESS]<br>compiler_bsort() [SUCCESS]<br>compiler_math_3op_float() [SUCCESS]<br>compiler_math_3op_half()No cl_khr_fp16, Skip! [SUCCESS]<br>compiler_mix()Unresolved symbol: _Z13__gen_ocl_lrpfff 8<br>Aborting...<br>Unresolved symbol: _Z13__gen_ocl_lrpfff 8<br>Aborting...<br> [FAILED]<br> Error: error calling clBuildProgram with error CL_BUILD_PROGRAM_FAILURE <br><br> at file /usr/ports/lang/beignet/work/Beignet-1.2.0-Source/utests/utest_helper.cpp, function cl_kernel_init, line 267<br>builtin_local_linear_id()Not OpenCL 2.0 device, Beignet extension test! [SUCCESS]<br>builtin_global_linear_id()Not OpenCL 2.0 device, Beignet extension test! [SUCCESS]<br>compiler_sub_group_shuffle_xor() [SUCCESS]<br>compiler_sub_group_shuffle_up() [SUCCESS]<br>compiler_sub_group_shuffle_down() [SUCCESS]<br>compiler_sub_group_shuffle() [SUCCESS]<br>compiler_get_sub_group_local_id() [SUCCESS]<br>compiler_get_max_sub_group_size() [SUCCESS]<br>runtime_use_host_ptr_image() [SUCCESS]<br>runtime_alloc_host_ptr_buffer() [SUCCESS]<br>runtime_use_host_ptr_buffer() [SUCCESS]<br>vload_test_uchar() [SUCCESS]<br>vload_test_char() [SUCCESS]<br>vload_test_ushort() [SUCCESS]<br>vload_test_short() [SUCCESS]<br>vload_test_uint() [SUCCESS]<br>vload_test_int() [SUCCESS]<br>vload_test_float() [SUCCESS]<br>compiler_assignment_operation_in_if() [SUCCESS]<br>compiler_constant_expr() [SUCCESS]<br>compiler_fill_image_2d_array() [SUCCESS]<br>compiler_fill_image_1d_array() [SUCCESS]<br>compare_image_2d_and_1d_array()Unresolved symbol: _Z14__gen_ocl_fminff 8<br>Aborting...<br>Unresolved symbol: _Z14__gen_ocl_fmaxff 8<br>Aborting...<br>Unresolved symbol: _Z14__gen_ocl_fminff 8<br>Aborting...<br>Unresolved symbol: _Z14__gen_ocl_fmaxff 8<br>Aborting...<br> [FAILED]<br> Error: error calling clBuildProgram with error CL_BUILD_PROGRAM_FAILURE <br><br> at file /usr/ports/lang/beignet/work/Beignet-1.2.0-Source/utests/utest_helper.cpp, function cl_kernel_init, line 267<br>image_from_buffer() [SUCCESS]<br>image_1D_buffer() [SUCCESS]<br>builtin_kernel_max_global_size() [SUCCESS]<br>enqueue_fill_buf() [SUCCESS]<br>test_printf()Warning: Have a int parameter for %f like specifier, take care of it<br><br><br></div><div class="gmail_default" style="font-family:monospace,monospace">And then it hung the OS.<br><br>--<br></div><div class="gmail_default" style="font-family:monospace,monospace">Igor<br></div></div>