You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Fix dumping of images for multiple targets (#8640)
This was identified by the Unified Runtime team, depending on the target
order in `-fsycl-targets` certain binaries are not dumped.
```
-fsycl-targets=nvptx64-nvidia-cuda,spir64
├── sycl_nvptx641.bin
├── sycl_spir642.spv
└── sycl_spir643.spv
```
```
-fsycl-targets=spir64,nvptx64-nvidia-cuda
├── sycl_spir641.spv
├── sycl_spir642.spv
└── sycl_spir643.spv
```
This patch makes sure that if a kernel is compiled for multiple targets,
images belonging to different targets will be dumped.
0 commit comments