Skip to content

Conversation

@whitneywhtsang
Copy link
Contributor

@whitneywhtsang whitneywhtsang commented Dec 31, 2025

This PR implements the BlockPointerToTensorDesc pass, which translates block pointer representations to tensor descriptor pointer representations. As part of the planned deprecation of block pointer representations, this pass serves as a transitional solution. Since many existing kernels still use block pointers, we cannot immediately remove block pointer support from the compiler. To simplify the compiler architecture and avoid maintaining dual pointer representation handling, this pass converts block pointers to tensor descriptors, allowing us to standardize on a single pointer representation throughout the compilation pipeline.

Note: Currently, the pipeline immediately translates tensor descriptors back to block pointers. However, we plan to incrementally update each compilation step to handle tensor descriptors directly, eventually eliminating the need for block pointer representations entirely.

Fixes #5784.

No geomean performance regressions:
Triton Benchmarks PVC: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/20633795972
Triton Benchmarks BMG: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/20633799845 + https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/20642028915

@whitneywhtsang whitneywhtsang self-assigned this Dec 31, 2025
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/BlockPointerToTensorDesc branch from 294ff2d to 90407e8 Compare December 31, 2025 21:18
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/BlockPointerToTensorDesc branch from 90407e8 to 3a97c0f Compare January 1, 2026 06:15
@whitneywhtsang whitneywhtsang marked this pull request as ready for review January 1, 2026 22:19
@etiotto
Copy link
Contributor

etiotto commented Jan 7, 2026

Please link the issue to the PR.

@whitneywhtsang
Copy link
Contributor Author

Please link the issue to the PR.

done

Copy link
Contributor

@etiotto etiotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial comments.

@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/BlockPointerToTensorDesc branch from b964b2c to e0da90e Compare January 7, 2026 21:16
Signed-off-by: Whitney Tsang <[email protected]>
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/BlockPointerToTensorDesc branch from e0da90e to ba9de05 Compare January 7, 2026 22:23
Signed-off-by: Whitney Tsang <[email protected]>
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/BlockPointerToTensorDesc branch from 094a308 to 6b28dc6 Compare January 8, 2026 04:05
@whitneywhtsang whitneywhtsang requested a review from etiotto January 8, 2026 04:06
@whitneywhtsang
Copy link
Contributor Author

whitneywhtsang commented Jan 8, 2026

Signed-off-by: Whitney Tsang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TDESC_NATIVE_SUPPORT]: Implement BlockPointerToTensorDesc pass

4 participants