[SPIR-V] Enabling SPIR-V builtin lookup in device SYCL mode#1384
[SPIR-V] Enabling SPIR-V builtin lookup in device SYCL mode#1384bader merged 5 commits intointel:syclfrom
Conversation
8f72079 to
8fda3cd
Compare
|
@Naghasan, could you resolve the conflicts, please? |
8fda3cd to
c188011
Compare
Done |
c188011 to
5312701
Compare
|
@Naghasan, any ideas why macro is not defined? |
For device compilation, SPIR-V builtins are now looked up by the device compiler. They now longer need to be forward declared. Signed-off-by: Victor Lomuller <victor@codeplay.com>
Signed-off-by: Victor Lomuller <victor@codeplay.com>
Signed-off-by: Victor Lomuller <victor@codeplay.com>
Signed-off-by: Victor Lomuller <victor@codeplay.com>
5312701 to
377b2e3
Compare
The macro is defined, the |
This seems to work, but there are still 10 failed LIT tests on Windows. |
Signed-off-by: Victor Lomuller <victor@codeplay.com>
I neglected LLP64 vs LP64 ... I made a fix for this but limits inputs to be |
This mix and match of |
…hinx * upstream/sycl: (357 commits) [Support] Implement a simple tabular data management library (intel#1358) [Support] Implement a property set I/O library (intel#1357) [SYCL] Fix buffer constructor using iterators (intel#1386) [SYCL][FPGA] Enable a set of loop attributes (intel#1312) [Driver][SYCL][FPGA] Proper dependency output location when given /Fo<dir> (intel#1346) [SPIR-V] Enabling SPIR-V builtin lookup in device SYCL mode (intel#1384) [SYCL][NFC] Unify setting kernel arguments (intel#1379) [SYCL][Doc] First revision of standard layout relaxation extension (intel#1344) [SYCL] Fixed sub-buffer alloca search (intel#1385) [SYCL][FPGA] Emit multiple IR variants for the IVDep attribute (intel#1383) [SYCL] Add experimental flag to enable front-end optimizations (intel#1376) [SYCL] Remove unexpected double in complex SPIR-V for float support (intel#1381) [SYCL] Default work-group sizes based on max (intel#952) [SYCL][CUDA] Fix usage of multiple backends in the same program (intel#1252) [SPIR-V] Add SPIR-V builtin definitions to the builtin lookup. [SPIR-V] Add macro definition when -fdeclare-spirv-builtins is activated [SYCL] Fix sycl_generic printing [SYCL] Support intel::reqd_work_group_size (intel#1328) [SYCL][NFC] Make the RT::PiPlugin object private (intel#1375) [SPIRV] Add convergent attribute to SPIR-V built-ins (intel#1373) ...
Removed macro which are useless since #1384 Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
This patch enables implicitly fdeclare-spirv-builtins when building sycl code in device mode and the runtime header changes related to flag being enabled. It also reverts some of the manual mangling done in libclc.
Signed-off-by: Victor Lomuller victor@codeplay.com