beignet-1.3.2-grammar.patch 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Description: Fix grammar in documentation
  2. Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
  3. Forwarded: https://lists.freedesktop.org/archives/beignet/2017-October/009179.html
  4. --- a/docs/Beignet/Backend.mdwn
  5. +++ b/docs/Beignet/Backend.mdwn
  6. @@ -9,10 +9,10 @@ Status
  7. ------
  8. After two years development, beignet is mature now. It now supports all the
  9. -OpenCL 1.2 mandatory features. Beignet get almost 100% pass rate with both
  10. -OpenCV 3.0 test suite and the piglit opencl test suite. There are some
  11. -performance tuning related items remained, see [[here|Backend/TODO]] for a
  12. -(incomplete) lists of things to do.
  13. +OpenCL 1.2 mandatory features. Beignet gets almost 100% pass rate with both
  14. +the OpenCV 3.0 test suite and the piglit opencl test suite. There are some
  15. +performance tuning related items remained, see [[here|Backend/TODO]] for an
  16. +(incomplete) list of things to do.
  17. Interface with the run-time
  18. ---------------------------
  19. @@ -61,7 +61,7 @@ Environment variables are used all over
  20. - `OCL_OUTPUT_REG_ALLOC` `(0 or 1)`. Output Gen register allocations, including
  21. virtual register to physical register mapping, live ranges.
  22. -- `OCL_OUTPUT_BUILD_LOG` `(0 or 1)`. Output error messages if there is any
  23. +- `OCL_OUTPUT_BUILD_LOG` `(0 or 1)`. Output error messages if there are any
  24. during CL kernel compiling and linking.
  25. - `OCL_OUTPUT_CFG` `(0 or 1)`. Output control flow graph in .dot file.
  26. @@ -70,22 +70,22 @@ Environment variables are used all over
  27. but without instructions in each BasicBlock.
  28. - `OCL_PRE_ALLOC_INSN_SCHEDULE` `(0 or 1)`. The instruction scheduler in
  29. - beignet are currently splitted into two passes: before and after register
  30. - allocation. The pre-alloc scheduler tend to decrease register pressure.
  31. + beignet is currently split into two passes: before and after register
  32. + allocation. The pre-alloc scheduler tends to decrease register pressure.
  33. This variable is used to disable/enable pre-alloc scheduler. This pass is
  34. disabled now for some bugs.
  35. - `OCL_POST_ALLOC_INSN_SCHEDULE` `(0 or 1)`. Disable/enable post-alloc
  36. - instruction scheduler. The post-alloc scheduler tend to reduce instruction
  37. + instruction scheduler. The post-alloc scheduler tends to reduce instruction
  38. latency. By default, this is enabled now.
  39. -- `OCL_SIMD16_SPILL_THRESHOLD` `(0 to 256)`. Tune how much registers can be
  40. - spilled under SIMD16. Default value is 16. We find spill too much register
  41. - under SIMD16 is not as good as fall back to SIMD8 mode. So we set the
  42. +- `OCL_SIMD16_SPILL_THRESHOLD` `(0 to 256)`. Tune how many registers can be
  43. + spilled under SIMD16. Default value is 16. We find spilling too many registers
  44. + under SIMD16 is not as good as falling back to SIMD8 mode. So we set the
  45. variable to control spilled register number under SIMD16.
  46. - `OCL_USE_PCH` `(0 or 1)`. The default value is 1. If it is enabled, we use
  47. - a pre compiled header file which include all basic ocl headers. This would
  48. + a pre compiled header file which includes all basic ocl headers. This would
  49. reduce the compile time.
  50. Implementation details