[Beignet] Most of utest cases run failed

Yang, Rong R rong.r.yang at intel.com
Wed Jan 20 22:41:41 PST 2016


All errores are CL_INVALID_BUFFER_SIZE, seems device's global_mem_size or/and max_mem_alloc_size too small.
These values are calculated from drm_intel_get_aperture_sizes and sysinfo, can you provide these functions return value in file src/cl_device_id.c and src/intel/intel_driver.c.
Thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Xu, Terrence
> Sent: Wednesday, January 20, 2016 21:39
> To: beignet at lists.freedesktop.org
> Subject: [Beignet] Most of utest cases run failed
> 
> Hi All
> 
> I am Graphic virtualization QA for iGVT-g project in OTC and beignet is in our
> test coverage.
> When I use the Release_v1.0.3 version beignet, most of utest cases can run
> well.
> 
> Since now we need to add beignet support on SKYLAKE platform, I upgraded
> my beignet to the newest version and try to run on HSW first, but only 78 of
> 798 cases run pass.
> 
> Anyone can find the reason?Thanks!	
> 
> 
> Environment:
> Platform: HSW-UP Server
> Kernel:  drm-intel  4.3.0-rc6
> LLVM: 3.6.2
> Beignet: 13f504c
> 
> ./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-13f504c)"
> 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"
> device_profile "FULL_PROFILE"
> device_name "Intel(R) HD Graphics Haswell GT2 Server"
> device_vendor "Intel"
> device_version "OpenCL 1.2 beignet 1.2 (git-13f504c)"
> 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"
> device_opencl_c_version "OpenCL C 1.2 beignet 1.2 (git-13f504c)"
> 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: error calling clCreateBuffer with error CL_INVALID_BUFFER_SIZE
> 
>   at file /mnt/umd/beignet/utests/load_program_from_bin_file.cpp,
> function test_load_program_from_bin_file, line 38
> enqueue_built_in_kernels()    [SUCCESS]
> builtin_acos_float()    [FAILED]
>     Error: error calling clCreateBuffer with error CL_INVALID_BUFFER_SIZE
> 
>   at file /mnt/umd/beignet/utests/generated/builtin_acos_float.cpp,
> function builtin_acos_float, line 44
> builtin_acos_float2()    [FAILED]
>     Error: error calling clCreateBuffer with error CL_INVALID_BUFFER_SIZE
> 
>   at file /mnt/umd/beignet/utests/generated/builtin_acos_float2.cpp,
> function builtin_acos_float2, line 44 ......
> ......
>   at file /mnt/umd/beignet/utests/compiler_overflow.cpp, function test, line
> 50
> compiler_overflow_sub_uint4()    [FAILED]
>     Error: error calling clCreateBuffer with error CL_INVALID_BUFFER_SIZE
> 
>   at file /mnt/umd/beignet/utests/compiler_overflow.cpp, function test, line
> 50
> runtime_climage_from_boname() Can't open Display, skipping.
>     [SUCCESS]
> 
> summary:
> ----------
>   total: 798
>   run: 797
>   pass: 78
>   fail: 719
> 
> Thanks
> Terrence



More information about the Beignet mailing list