From 68fc4e227a40c7e8dbe4138ff7a859042e2c5027 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Thu, 26 Jun 2014 12:38:09 +0800 Subject: [PATCH] docs: fix some markdown links and correct some information. Signed-off-by: Zhigang Gong --- docs/Beignet.mdwn | 27 ++++++++++++++++++--------- docs/Beignet/Backend/TODO.mdwn | 4 ++-- docs/Beignet/Backend/compiler_backend.mdwn | 2 +- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn index dd8f349..f271178 100644 --- a/docs/Beignet.mdwn +++ b/docs/Beignet.mdwn @@ -46,10 +46,9 @@ There are some severe OpenCL related regression in current clang 3.4/3.5 version **Note about LLVM 3.5** -* If you want to try Clang/LLVM 3.5, you need to build the clang/llvm with cxx11 enabled: ---enable-cxx11. And the recommended specified version is r211037. As LLVM 3.5 hasn't been -released and still in active development. Use version newer than the recommended version -may be incompatbiel with beignet. +* If you want to try Clang/LLVM 3.5. The recommended specified version is r211037. + As LLVM 3.5 hasn't been released and still in active development. Use version + newer than the recommended version may be incompatbiel with beignet. **Note about OpenCV support** @@ -134,12 +133,17 @@ will run all the unit tests one after the others will only run `some_unit_test0` and `some_unit_test1` tests -Supported Hardware ------------------- +Supported Targets +----------------- -The code was tested on IVB GT2 with ubuntu and fedora core distribution. The recommended -kernel version is equal or newer than 3.11. Currently Only IVB is supported right now. -Actually, the code was run on IVB GT2/GT1, and both system are well supported now. + * 3rd Generation Intel Core Processors + * Intel “Bay Trail” platforms with Intel HD Graphics + * 4rd Generation Intel Core Processors, need kernel patch currently, see below + for details: + +The 4rd Generation Inter 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) Known Issues ------------ @@ -206,5 +210,10 @@ to the beignet mail list and send patches to it for review. The official mail list is as below: [http://lists.freedesktop.org/mailman/listinfo/beignet](http://lists.freedesktop.org/mailman/listinfo/beignet) +Documents for OpenCL application developers +------------------------------------------- +- [[Cross compile|Beignet/howto/cross-compiler-howto]] +- [[Kernel Optimization Guide|Beignet/optimization-guide]] + The wiki url is as below: [http://www.freedesktop.org/wiki/Software/Beignet/](http://www.freedesktop.org/wiki/Software/Beignet/) diff --git a/docs/Beignet/Backend/TODO.mdwn b/docs/Beignet/Backend/TODO.mdwn index 7651c85..501c508 100644 --- a/docs/Beignet/Backend/TODO.mdwn +++ b/docs/Beignet/Backend/TODO.mdwn @@ -55,7 +55,7 @@ The code is defined in `src/ir`. Main things to do are: all have a constant data length. - Finishing the handling of function arguments (see the [[IR - description|gen\_ir]] for more details) + description|gen_ir]] for more details) - Merging of independent uniform loads (and samples). This is a major performance improvement once the uniform analysis is done. Basically, several @@ -73,7 +73,7 @@ Backend The code is defined in `src/backend`. Main things to do are: -- Optimize register spilling (see the [[compiler backend description|compiler\_backend]] for more details) +- Optimize register spilling (see the [[compiler backend description|compiler_backend]] for more details) - Implementing proper instruction selection. A "simple" tree matching algorithm should provide good results for Gen diff --git a/docs/Beignet/Backend/compiler_backend.mdwn b/docs/Beignet/Backend/compiler_backend.mdwn index c291fe4..3c489b2 100644 --- a/docs/Beignet/Backend/compiler_backend.mdwn +++ b/docs/Beignet/Backend/compiler_backend.mdwn @@ -5,7 +5,7 @@ Well, the complete code base is somehow a compiler backend for LLVM. Here, we really speak about the final code generation passes that you may find in `src/backend`. -As explained in [[the scalar IR presentation|gen\_ir]], we bet on a very +As explained in [[the scalar IR presentation|gen_ir]], we bet on a very simple scalar IR to make it easy to parse and modify. The idea is to fix the unrelated problem (very Gen specific) where we can i.e. when the code is generated. -- 2.7.4