Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT : For discussion only : Add a workaround for builtin calling conventions. #511

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

coldav
Copy link
Collaborator

@coldav coldav commented Jul 26, 2024

Overview

This is for demonstration purposes of how we could perhaps work around builtin calling conventions by looking at the parameters of the builtin.

Reason for change

SYCL Native CPU provides builtins which differ from what we expect using the spirv-unknown-unknown triple.
e.g. byval on the parameters

Description of change

Added CreateBuiltinCall function which transforms the parameters if needed. Used on ShuffleUpDown function __mux_sub_group_shuffle_up_v*

This is for demonstration purposes of how we could perhaps work around
builtin calling conventions by looking at the parameters of the builtin.
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.

1 participant