intel / graph-compiler

Apache License 2.0
26 stars 14 forks source link

Make linalg->xegpu->gpu_exe pipeline working #193

Closed dchigarev closed 5 days ago

dchigarev commented 1 month ago

The pipeline is supposed to be like this:

func.func(iterative-tiling-and-fusion) // tile linalg ops (pass from GC)
one-shot-bufferize
func.func(scf-forall-to-parallel) // convert tiled for-loops into parallel loops (upstreamed)
func.func(linalg-to-xegpu) // (pass from tpp)
// map kernel to GPU
func.func(gpu-map-parallel-loops)
func.func(convert-parallel-loops-to-gpu)
gpu-kernel-outlining
set-spirv-capabilities{client-api=opencl}
gpu.module(set-spirv-abi-attrs{client-api=opencl})

gpu.module(convert-xegpu-to-vc) // (pass from imex)
imex-convert-gpu-to-spirv
serialize-spirv
...

Steps to achieve this:

lmontigny commented 1 week ago

WIP 09/03 to be fixed in iteration 5