Summary: | Failed: set OCL_KERNEL_PATH | ||
---|---|---|---|
Product: | Beignet | Reporter: | robert.munteanu97 |
Component: | Beignet | Assignee: | Zhigang Gong <zhigang.gong> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | ./utests output |
Hi robert, There is a setenv.sh file in the utest dir, you can use it to set the env. You can try ". setenv.sh" or ". ./setenv.sh" And then "cat $OCL_KERNEL_PATH" to see if the env is set. Thanks Xiuli -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/31. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 127419 [details] ./utests output I am using Kali linux 2.0. I had some trouble when "make-ing", firstly because the function "drm_intel_get_pooled_eu" in /src/intel/intel_driver.c was receiving to many arguments on line 895 and 901, that lead to a compilation error. After deleting the second argument and leaving just the file descriptor the compilation process went well. But after setting the env variables and running utest the output is weird: 0% pass rate... Output: root@blackbox:~/Documents/Beignet-1.2.0-Source/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" 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" device_profile "FULL_PROFILE" device_name "Intel(R) HD Graphics Skylake Desktop GT2" device_vendor "Intel" device_version "OpenCL 1.2 beignet 1.2" 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 cl_khr_fp16" device_opencl_c_version "OpenCL C 1.2 beignet 1.2" 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: set OCL_KERNEL_PATH. This is where the kiss kernels are (-1) summary: ---------- total: 925 run: 1 pass: 0 fail: 0 pass rate: 0.000000 Please note a I have "i915.preliminary_hw_support=1" as boot parameter. Have a great day:)