Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Source/ | H | 25-Apr-2025 | - | 2,538 | 1,968 | |
README.md | H A D | 25-Apr-2025 | 944 | 32 | 16 | |
build.py | H A D | 25-Apr-2025 | 6 KiB | 207 | 152 | |
igcodeckrn_g11.c | H A D | 25-Apr-2025 | 287.3 KiB | 2,965 | 2,936 | |
igcodeckrn_g11.h | H A D | 25-Apr-2025 | 1.5 KiB | 35 | 5 | |
media_srcs.cmake | H A D | 25-Apr-2025 | 4.1 KiB | 123 | 101 |
README.md
1## DS and HME Kernel compile and convert it to .c 2 3### Step1: Building CM Compiler 4 51. Download or clone cm compiler 6 7 https://github.com/intel/cm-compiler 8 92. Build cmc following the steps in readme @https://github.com/intel/cm-compiler 10 113. Download or clone intel graphics comiler 12 13 https://github.com/intel/intel-graphics-compiler 14 154. Build igc following the steps in readme @ https://github.com/intel/intel-graphics-compiler 16 17### Step2: Building Kernels 18 191. Set envrionment variale (Set compiler path) 20 21 export PATH=$PATH:<cm_compiler_path>/include:<cm_compiler_path>/bin 22 232. run build.py to generate kernel binary 24 25### Step3: covert Kernels to .c Array file 26 271. run command to generate source files. 28 29 "KernelBinToSource -i commonkernel.krn -o media_driver/agnostic/gen11/codec/kernel/ -v igcodeckrn_g11 -index 14 -t 17" 30 31 please refer media_driver/agnostic/common/codec/kernel/codeckrnheader.h about the index and total number. 32