Skip to content

Conversation

@asudarsa
Copy link
Contributor

This PR is for testing the new offload model for SYCL offloading. Please do not review.

Thanks

Signed-off-by: Sudarsanam, Arvind <[email protected]>
@asudarsa asudarsa requested a review from a team as a code owner August 17, 2024 15:57
@asudarsa
Copy link
Contributor Author

Opened new PR with HIP testing

/// Utility function to parse all devices passed via -fsycl-targets.
/// Return 'true' for JIT, AOT Intel CPU/GPUs and NVidia/AMD targets.
/// Otherwise return 'false'.
bool Driver::GetUseNewOffloadDriverForSYCLOffload(Compilation &C,
Copy link
Contributor

@YixingZhang007 YixingZhang007 Oct 28, 2025

Choose a reason for hiding this comment

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

Here is a comment from Marcos "I think the name doesn't describe very well what the function is doing, or at least doesn't align very well with the description in the comment above. I would expect something including the words Get and Devices at least." More details can be found at #20470.

options::OPT_offload_new_driver, false))
return false;

if (Args.hasArg(options::OPT_fintelfpga))
Copy link
Contributor

Choose a reason for hiding this comment

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

Here is a comment from Srividya Sundaram "support for FPGA related options have been removed in this #16864 Don't think this check is necessary." More details can be found at #20470.

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.

2 participants