intel / intel-xpu-backend-for-triton

OpenAI Triton backend for Intel® GPUs
MIT License
143 stars 44 forks source link

[XPU][OptEW] Allow use-def graphs of elementwise optimizable operations #2673

Closed victor-eds closed 3 days ago

victor-eds commented 1 week ago

Allow operands being used by other optimizable operations to enable elementwise operations graph optimizations.

Depends on https://github.com/intel/intel-xpu-backend-for-triton/pull/2670. Do not merge.

Review only 2a4ce1843bbf1f179ae7a2781c50b9199ec2530f

victor-eds commented 1 week ago

Third step for https://github.com/intel/intel-xpu-backend-for-triton/issues/2562. Getting close to final version of the pass.

etiotto commented 1 week ago

@victor-eds this is now ready for rebasing.

victor-eds commented 3 days ago

Nor merging. This pass can be dropped as previous passes should be propagating optimal layouts to EW operations.