llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][NATIVECPU] Support Native CPU with new offloading model

Open PietroGhg opened this issue 1 year ago • 1 comments

Adds support to SYCL Native CPU in the new offloading model.

PietroGhg avatar Jun 26 '24 15:06 PietroGhg

@asudarsa this are the WIP changes to get some basic SYCL tests to run on Native CPU with the new offloading model. As we discussed offline, the main difference between Native CPU and other targets is that Native CPU adds an extra call to clang (with the -mllvm -sycl-native-cpu-backend) that runs some extra passes and lowers the device module to an object file that is then fed to the linker. This PR also has code to link to libclc, which I believe is also needed by the ptx and amdgcn backends, I'm not sure if there's already something in place to do that, if so Native CPU could and should align to what is done for the other targets. Let me know what you think about this, thank you

PietroGhg avatar Jun 26 '24 15:06 PietroGhg

This pull request is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be automatically closed in 30 days.

github-actions[bot] avatar Dec 24 '24 01:12 github-actions[bot]

This pull request was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Jan 24 '25 01:01 github-actions[bot]