[all-commits] [llvm/llvm-project] 8ba9c7: Add support for sycl_special_class attribute.
Zahira Ammarguellat via All-commits
all-commits at lists.llvm.org
Tue Jan 25 14:17:28 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ba9c794feb30cd969b9776c39873def10c51bff
https://github.com/llvm/llvm-project/commit/8ba9c794feb30cd969b9776c39873def10c51bff
Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: 2022-01-25 (Tue, 25 Jan 2022)
Changed paths:
M clang/include/clang/AST/CXXRecordDeclDefinitionBits.def
M clang/include/clang/AST/DeclCXX.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/SemaSYCL/special-class-attribute-on-non-sycl.cpp
A clang/test/SemaSYCL/special-class-attribute.cpp
Log Message:
-----------
Add support for sycl_special_class attribute.
Special classes such as accessor, sampler, and stream need additional
implementation when they are passed from host to device.
This patch is adding a new attribute “sycl_special_class” used to mark
SYCL classes/struct that need the additional compiler handling.
More information about the All-commits
mailing list