[Beignet] [04/22] Minutes: OpenCL for QA

He Junyan junyan.he at linux.intel.com
Fri Apr 26 19:50:03 PDT 2013


OK, I will send it today


On 04/27/2013 10:48 AM, Zhigang Gong wrote:
> Right, it assumes the gbm has been installed to default system directory.
> And it may be incorrect sometime. Did you already make a patch for this? If
> so, please submit it for review. Thanks.
>
>> -----Original Message-----
>> From:
>> beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.org
>> [mailto:beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.
>> org] On Behalf Of He Junyan
>> Sent: Friday, April 26, 2013 6:13 PM
>> To: yi.sun at intel.com; Zhigang Gong
>> Cc: beignet at lists.freedesktop.org
>> Subject: Re: [Beignet] [04/22] Minutes: OpenCL for QA
>>
>>
>> Hi yi:
>>
>> The problem caused by the FindGBM module.
>>
>> hi zhigang:
>>
>> FIND_PATH seems just can find the header file location but not add -I
>> parameters to CXX_FLAGS.
>> we need to add INCLUDE_DIRECTORIES like:
>>
>> IF(EGL_INCLUDE_PATH)
>>     SET(EGL_FOUND 1 CACHE STRING "Set to 1 if EGL is found, 0
>> otherwise")
>>     INCLUDE_DIRECTORIES(${EGL_INCLUDE_PATH})
>> ELSE(EGL_INCLUDE_PATH)
>>     SET(EGL_FOUND 0 CACHE STRING "Set to 1 if EGL is found, 0
>> otherwise")
>> ENDIF(EGL_INCLUDE_PATH)
>>
>>
>> for every cmake find module, or if the header and lib is not in standard
>> location, it will fail.
>>
>>
>>
>>
>>
>>
>>
>> On 04/24/2013 05:37 PM, He Junyan wrote:
>>> My laptop's hard disk crashed and I can just work on linux now.
>>> I will check if ASAP after recovery
>>>
>>>
>>>
>>>
>>>
>>> From: "Sun, Yi" <yi.sun at intel.com>
>>> To: "He, Junyan" <junyan.he at intel.com>
>>> Subject: RE: [04/22] Minutes: OpenCL for QA
>>> Date: Tue, 23 Apr 2013 14:11:30 +0800
>>>
>>>
>>> 1, I built and installed the LLVM successfully.
>>>
>>> 2, built and installed the lates MESA on master branch.
>>>
>>>
>>>
>>> 3, Error while building the cl-intel-driver:
>>>
>>>
>>>
>>> [root at sunyi-pc cl-intel-test]# cmake .
>>>
>>> -- SOURCE dir is /home/works/opencl/cl-intel-test
>>>
>>> -- BINARY dir is /home/works/opencl/cl-intel-test
>>>
>>> -- Building mode: RelWithDebInfo
>>>
>>> CMake Error at CMakeLists.txt:45 (MESSAGE):
>>>
>>> Can not find the OpenCL
>>>
>>>
>>>
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>>
>>>
>>>
>>>
>>> 4, Error while building beignet:
>>>
>>> [root at sunyi-pc beignet]# cmake .
>>>
>>> -- Building mode: RelWithDebInfo
>>>
>>> -- LLVM llvm-config found at: /usr/local/bin/llvm-config
>>>
>>> -- find stable LLVM version 3.2svn
>>>
>>>
>>>
>>> -- Looking for XLib - found
>>>
>>> -- Looking for DRM - found
>>>
>>> -- Looking for DRM Intel - found
>>>
>>> -- Looking for Xext - found
>>>
>>> -- Looking for Xfixes - found
>>>
>>> -- Looking for Gen-Backend - not found
>>>
>>> -- Looking for GBM - not found
>>>
>>> -- Looking for EGL - found
>>>
>>> -- Looking for OCL ICD header file - not found
>>>
>>> -- Building mode: RelWithDebInfo
>>>
>>> CMake Error: The following variables are used in this project, but
>>> they are set to NOTFOUND.
>>>
>>> Please set them or make sure they are set and tested correctly in the
>>> CMake files:
>>>
>>> EGL_LIBRARY
>>>
>>> linked by target "cl" in directory /home/works/opencl/beignet/src
>>>
>>> GBM_LIBRARY
>>>
>>> linked by target "cl" in directory /home/works/opencl/beignet/src
>>>
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>>
>>>
>>>
>>>
>>> Thanks
>>>
>>> --Sun, Yi
>>>
>>>
>>>
>>>
>>> From: He, Junyan
>>> Sent: Monday, April 22, 2013 5:46 PM
>>> To: Sun, Yi; Zou, Nanhai; Shui, YangweiX
>>> Cc: Jin, Gordon
>>> Subject: RE: [04/22] Minutes: OpenCL for QA
>>>
>>>
>>>
>>>
>>> You can check out the code for cl-Intel-devel(named beignet in public)
>>> from
>>>
>>> git://anongit.freedesktop.org/git/beignet
>>>
>>>
>>>
>>> The test case package is not opened to public, and it is on the bee:
>>>
>>> git://bee.sh.intel.com/git/cl-intel-test
>>>
>>>
>>>
>>> The LLVM version should be 3.1 or 3.2
>>>
>>>
>>>
>>> If any problem, pleas IM me.
>>>
>>>
>>>
>>>
>>>
>>> From: Sun, Yi
>>> Sent: Monday, April 22, 2013 3:59 PM
>>> To: Zou, Nanhai; He, Junyan; Shui, YangweiX
>>> Cc: Jin, Gordon
>>> Subject: RE: [04/22] Minutes: OpenCL for QA
>>>
>>>
>>>
>>>
>>> Ok, sure. We'll have a try so long as set up the environment and
>>> compile the test successfully.
>>>
>>>
>>>
>>> Thanks
>>>
>>> --Sun, Yi
>>>
>>>
>>>
>>>
>>> From: Zou, Nanhai
>>> Sent: Monday, April 22, 2013 3:53 PM
>>> To: Sun, Yi; He, Junyan; Shui, YangweiX
>>> Cc: Jin, Gordon
>>> Subject: RE: [04/22] Minutes: OpenCL for QA
>>>
>>>
>>>
>>>
>>> Hi,
>>>
>>> I think you can start porting our unit test to piglit.
>>>
>>> No need to fully understand the spec first.
>>>
>>> You can learn the spec from the porting.
>>>
>>>
>>>
>>> Thanks
>>>
>>> Zou Nanhai
>>>
>>>
>>>
>>> From: Sun, Yi
>>> Sent: Monday, April 22, 2013 1:59 PM
>>> To: Sun, Yi; He, Junyan; Shui, YangweiX
>>> Cc: Jin, Gordon; Zou, Nanhai
>>> Subject: [04/22] Minutes: OpenCL for QA
>>>
>>>
>>>
>>>
>>> Attendee: Junyan, Yi, Yangwei
>>>
>>>
>>>
>>> Junyan introduced OpenCL briefly.
>>>
>>>
>>>
>>> AR Junyan:
>>>
>>> Send the two repo addresses for driver and test cases
>>>
>>> Send the compile command .
>>>
>>>
>>>
>>> AR Yi:
>>>
>>> Read the spec OpenCL1.0
>>>
>>> Setup the environment
>>>
>>> Build and run the existed test cases.
>>>
>>>
>>>
>>> Thanks
>>>
>>> --Sun, Yi
>>>
>>>
>>>
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>



More information about the Beignet mailing list