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

[Driver][SYCL][NewOffloadModel] Improve arch association for device #13898

Merged
merged 2 commits into from
May 28, 2024

Conversation

mdtoguchi
Copy link
Contributor

When using the new offloading model, the values being passed to -fsycl-targets were not fully being realized when attempting to target specific architectures. Uses of -fsycl-targets=intel_gpu_* were not properly setting the arch values that are used down the line (namely the packaging step).

Improve this situation by populating the assocated architecture mappings with what is seen when parsing the -fsycl-targets option. This applies to all intel_gpu, nvidia_gpu and amd_gpu targets.

When using the new offloading model, the values being passed to
-fsycl-targets were not fully being realized when attempting to target
specific architectures.  Uses of -fsycl-targets=intel_gpu_* were not
properly setting the arch values that are used down the line (namely the
packaging step).

Improve this situation by populating the assocated architecture mappings
with what is seen when parsing the -fsycl-targets option.  This applies
to all intel_gpu, nvidia_gpu and amd_gpu targets.
@mdtoguchi mdtoguchi marked this pull request as ready for review May 23, 2024 17:33
@mdtoguchi mdtoguchi requested a review from a team as a code owner May 23, 2024 17:33
@mdtoguchi mdtoguchi requested a review from asudarsa May 23, 2024 17:33
@mdtoguchi
Copy link
Contributor Author

@intel/llvm-gatekeepers, this looks ready to merge - thanks!

@dm-vodopyanov dm-vodopyanov merged commit 5ddc688 into intel:sycl May 28, 2024
14 checks passed
@mdtoguchi mdtoguchi deleted the set-arch-new-offload branch May 28, 2024 14:40
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.

None yet

3 participants