Alex Voicu
e13cbaca69
[clang][CodeGen][SPIR-V] Fix incorrect SYCL usage, implement missing interface ( #109415 )
...
This is primarily meant to address the issue identified in #109182 ,
around incorrect usage of `-fsycl-is-device`; we now have AMDGCN
flavoured SPIR-V which retains the desired behaviour around the default
AS and does not depend on the SYCL language being enabled to do so.
Overall, there are three changes:
1. We unconditionally use the `SPIRDefIsGen` AS map for AMDGCNSPIRV
target, as there is no case where the hack of setting default to private
would be desirable, and it can be used for languages other than OCL/HIP;
2. We implement `SPIRVTargetCodeGenInfo::getGlobalVarAddressSpace` for
SPIR-V in general, because otherwise using it from languages other than
HIP or OpenCL would yield 0, incorrectly;
3. We remove the incorrect usage of `-fsycl-is-device`.
2024-09-26 14:06:14 +01:00
..
2024-08-09 13:25:04 +01:00
2024-08-09 13:25:04 +01:00
2024-06-07 11:50:23 +01:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-08-09 13:25:04 +01:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:15:51 -07:00
2024-03-12 10:30:39 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-06-14 15:07:27 +01:00
2024-08-09 13:25:04 +01:00
2023-12-15 15:49:25 +01:00
2024-07-09 14:25:58 -07:00
2024-06-06 12:16:11 -04:00
2024-03-21 09:55:04 +01:00
2023-12-31 20:44:48 +08:00
2024-09-25 00:44:57 +01:00
2024-02-12 09:33:09 -08:00
2024-09-06 21:18:41 +04:00
2024-09-06 21:18:41 +04:00
2024-08-09 13:25:04 +01:00
2024-07-26 15:24:06 +05:30
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-06-26 09:24:09 +05:30
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-09-26 14:06:14 +01:00
2024-05-04 17:00:29 -07:00
2024-09-06 11:41:21 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-09-06 11:41:21 -07:00
2024-05-22 00:03:59 -04:00
2024-07-18 11:23:35 -07:00
2024-07-18 11:23:35 -07:00
2024-07-18 11:23:35 -07:00
2024-07-18 11:23:35 -07:00
2024-07-18 11:23:35 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-06-20 11:01:54 -04:00
2024-05-04 17:00:29 -07:00
2024-07-18 15:33:03 -04:00
2024-07-18 16:34:59 -04:00
2024-05-05 10:46:06 -07:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-06-27 15:32:08 +02:00
2024-05-04 17:00:29 -07:00
2024-05-04 17:00:29 -07:00
2024-02-01 10:49:42 +00:00
2023-11-13 13:23:26 +01:00
2024-05-04 17:00:29 -07:00
2024-02-01 10:49:42 +00:00
2023-11-13 13:23:26 +01:00
2024-05-04 17:00:29 -07:00
2024-09-26 14:06:14 +01:00
2024-07-19 10:19:41 -04:00
2024-08-15 22:59:24 +04:00
2024-08-20 23:20:03 +04:00
2024-08-20 23:24:15 +04:00
2024-08-20 23:20:03 +04:00
2024-05-04 17:00:29 -07:00
2024-06-19 17:23:53 +02:00
2024-08-09 13:25:04 +01:00
2024-06-07 11:50:23 +01:00
2024-05-04 17:00:29 -07:00
2023-12-19 11:53:18 +01:00
2024-02-09 14:11:01 -06:00
2024-07-26 08:16:38 -04:00
2024-05-04 17:00:29 -07:00
2023-12-19 11:53:18 +01:00
2023-12-19 11:53:18 +01:00
2024-05-04 17:00:29 -07:00