My simple demo now has the same hint, Failed to release test userptr object! (9) i915 kernel driver may not be sane! , but it works correct last night.
I have used the Patch and run "echo 0 > /sys/module/i915/parameters/enable_cmd_parser". -----原始邮件----- 发件人:"Gao, Sanshan" <[email protected]> 发送时间:2015-05-07 09:29:19 (星期四) 收件人: "[email protected]" <[email protected]> 抄送: 主题: "utest_run -c runtime_use_host_ptr_buffer" failed to release test userptr object! Hello, 1. When I run "./utest_run -c runtime_use_host_ptr_buffer", I get this message: ... ... device_opencl_c_version "OpenCL C 1.2 beignet 1.1 (git-83f8739)" Failed to release test userptr object! (9) i915 kernel driver may not be sane! 21 image formats are supported ... ... runtime_use_host_ptr_buffer() [SUCCESS] Failed to release test userptr object! (9) i915 kernel driver may not be sane! summary: ---------- total: 681 run: 1 pass: 1 fail: 0 pass rate: 1.000000 2. When I run "cmake ../", maybe everything is OK, because I get this message: -- Building mode: RelWithDebInfo -- LLVM llvm-config found at: /usr/bin/llvm-config-3.5 -- find unstable LLVM version 3.5.0 -- Looking for XLib - found -- Looking for DRM - found at /usr 2.4.60 -- Looking for DRM Intel - found at /usr 2.4.60 -- Enable userptr support -- Enable EU total query support -- Enable subslice total query support -- Looking for OpenGL - found at /usr -- Looking for Xext - found at /usr -- Looking for Xfixes - found at /usr -- Looking for EGL - found at /usr -- Looking for OCL ICD header file - found -- Building mode: RelWithDebInfo running cd "/home/gss/files/beignet/utests" && mkdir generated -p 2>&1 -- Configuring done -- Generating done -- Build files have been written to: /home/gss/files/beignet/build 3. I have written a simple demo using CL_MEM_USE_HOST_PTR, and it gets right result. Problem: What's wrong with my Beignet?
_______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
