Hi Andrew,

This problem seems very familiar, if you are building beignet with clang, 
please try this patch:
https://patchwork.freedesktop.org/patch/84442/
If not, please provide us the log with “export OCL_OUTPUT_ASM=1,  export 
OCL_OUTPUT_LLVM_AFTER_GEN=1, export OCL_OUTPUT_GEN_IR=1”

Thanks
Xiuli


From: Beignet [mailto:[email protected]] On Behalf Of 
Andrew Lavin
Sent: Tuesday, May 17, 2016 1:38 AM
To: [email protected]
Subject: [Beignet] utests difficulty on Halo GT4

Hi,

I just received a Skull Canyon NUC with Intel Graphics Skylake Halo GT4. I 
built beignet master but the unit tests fail. I am running Ubuntu 16.04 with 
the default 4.4.0-22-generic kernel. It is my first try with beignet, apologies 
if I am doing something wrong.

andrew@skull:~/Downloads/beignet-master/build/utests$ ./utest_run
platform number 1
platform_profile "FULL_PROFILE"
platform_name "Intel Gen OCL Driver"
platform_vendor "Intel"
platform_version "OpenCL 1.2 beignet 1.2 (git-722b49c)"
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_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator 
cl_intel_motion_estimation"
Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (-259236996, 
-1798855746, -134614158)
See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
Beignet: Warning - overriding self-test failure
device_profile "FULL_PROFILE"
device_name "Intel(R) HD Graphics Skylake Halo GT4"
device_vendor "Intel"
device_version "OpenCL 1.2 beignet 1.2 (git-722b49c)"
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_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator 
cl_intel_motion_estimation cl_khr_fp16"
device_opencl_c_version "OpenCL C 1.2 beignet 1.2 (git-722b49c)"
23 image formats are supported
[CL_R CL_UNORM_INT8]
[CL_R CL_UNORM_INT16]
[CL_R CL_SIGNED_INT8]
[CL_R CL_SIGNED_INT16]
[CL_R CL_SIGNED_INT32]
[CL_R CL_UNSIGNED_INT8]
[CL_R CL_UNSIGNED_INT16]
[CL_R CL_UNSIGNED_INT32]
[CL_R CL_HALF_FLOAT]
[CL_R CL_FLOAT]
[CL_RG CL_UNORM_INT8]
[CL_RG CL_UNSIGNED_INT8]
[CL_RGBA CL_UNORM_INT8]
[CL_RGBA CL_UNORM_INT16]
[CL_RGBA CL_SIGNED_INT8]
[CL_RGBA CL_SIGNED_INT16]
[CL_RGBA CL_SIGNED_INT32]
[CL_RGBA CL_UNSIGNED_INT8]
[CL_RGBA CL_UNSIGNED_INT16]
[CL_RGBA CL_UNSIGNED_INT32]
[CL_RGBA CL_HALF_FLOAT]
[CL_RGBA CL_FLOAT]
[CL_BGRA CL_UNORM_INT8]
test_load_program_from_bin_file()    [FAILED]
    Error: ((float *)buf_data[1])[i] == cpu_dst[i]
  at file 
/home/andrew/Downloads/beignet-master/utests/load_program_from_bin_file.cpp, 
function test_load_program_from_bin_file, line 72
enqueue_built_in_kernels()ASSERTION FAILED: TODO A store to a structure 
argument (i.e. not a char/short/int/float argument) has been found. This is not 
supported yet
  at file /home/andrew/Downloads/beignet-master/backend/src/ir/lowering.cpp, 
function gbe::ir::ArgUse gbe::ir::FunctionArgumentLowerer::lower(uint32_t), 
line 519
Trace/breakpoint trap (core dumped)

_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to