I am not sure the root-cause now, but obviously this is another issue. Anybody else meet this issue in the master version? Did you try a clean build? And did you follow the ‘Know issues’ section in README.md? * Almost all unit tests fail on Linux kernel 3.15/3.16. There is a known issue in some versions of linux kernel which enable register whitelist feature but miss some necessary registers which are required for beignet. The problematic version are around 3.15 and 3.16 which have commit f0a346b... but haven't commit c9224f... If it is the case, you can apply c9224f... manually and rebuild the kernel or just disable the parse command by invoke the following command (use Ubuntu as an example): `# echo 0 > /sys/module/i915/parameters/enable_cmd_parser`
* Some unit test cases, maybe 20 to 30, fail on 4th Generation (HSW) platform. The 4th Generation Intel Core Processors's support requires some Linux kernel modification. You need to apply the patch at: [https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support](https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support) From: Илья Ефимов [mailto:[email protected]] Sent: Wednesday, October 01, 2014 2:27 PM To: Song, Ruiling Subject: Assertion `gpgpu->binded_buf[i]->offset != 0 I have reproduced this issue http://lists.freedesktop.org/archives/beignet/2013-October/001819.html in ubuntu package 0.8 and when building from git ./utest_run platform number 1 platform_profile "FULL_PROFILE" platform_name "Intel Gen OCL Driver" platform_vendor "Intel" platform_version "OpenCL 1.2 beignet 0.9" 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_icd" device_profile "FULL_PROFILE" device_name "Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile" device_vendor "Intel" device_version "OpenCL 1.2 beignet 0.9" 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_icd" device_opencl_c_version "OpenCL C 1.2 beignet 0.9" 21 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_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] builtin_acos_float()utest_run: /home/inferno/.dev/OpenCL/beignet/src/intel/intel_gpgpu.c:568: intel_gpgpu_check_binded_buf_address: Assertion `gpgpu->binded_buf[i]->offset != 0' failed. Interrupt signal (SIGABRT) received. summary: ---------- total: 676 run: 1 pass: 0 fail: 1 pass rate: 0.998521 My system is Ubuntu 14.10 lspci 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09) 00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 09) 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) 00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04) 00:1f.6 Signal processing controller: Intel Corporation 8 Series Thermal (rev 04) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01) 02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12) 03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe 03:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
_______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
