Name Date Size #Lines LOC

..--

Source/H25-Apr-2025-2,5381,968

README.mdH A D25-Apr-2025944 3216

build.pyH A D25-Apr-20256 KiB207152

igcodeckrn_g11.cH A D25-Apr-2025287.3 KiB2,9652,936

igcodeckrn_g11.hH A D25-Apr-20251.5 KiB355

media_srcs.cmakeH A D25-Apr-20254.1 KiB123101

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