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] Option to disable alloca address space for sret arguments (#17976)
Recent community change llvm/llvm-project#114062
enabled the use of
alloca address space for sret arguments. This causes several issues for
sycl, particularly for the SPIR
target where this leads to invalid address-space-casts from the local
address space.
The new option -foffload-use-alloca-addrspace-for-srets is TRUE by
default (and produces the current
community behavior) and is set to FALSE in sycl device compilation modes
(where the prior behavior is
retained). The commit also reverts some test changes made to reflect the
current community behavior.
---------
Co-authored-by: Premanand M Rao <premanand.m.rao@intel.com>
[SYCL][NFC] Avoid double allocation in `device_impl::get_device_info_…
…string` (#18099)
Before the change: two allocations plus copy between them, after: one
allocation plus zero-init of it so should be a strict improvement.
[SYCL][NFC] Avoid double allocation in `device_impl::get_device_info_…
…string` (#18099)
Before the change: two allocations plus copy between them, after: one
allocation plus zero-init of it so should be a strict improvement.
[SYCL][NFC] Avoid double allocation in `device_impl::get_device_info_…
…string` (#18099)
Before the change: two allocations plus copy between them, after: one
allocation plus zero-init of it so should be a strict improvement.