Skip to content

Commit b79eb91

Browse files
authored
[NFC][SYCL] Remove outdated FIXME comment from SemaSYCL.cpp (#4684)
We've understood that with current OpenCL limitations kernel object cannot be passed via kernel arguments, so the clone is required. Mentioned GitHub issue was closed a long time ago.
1 parent c91b3b8 commit b79eb91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/Sema/SemaSYCL.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -2952,8 +2952,6 @@ class SyclKernelBodyCreator : public SyclKernelFieldHandler {
29522952
CollectionInitExprs.push_back(ILE);
29532953
}
29542954

2955-
// FIXME Avoid creation of kernel obj clone.
2956-
// See https://github.com/intel/llvm/issues/1544 for details.
29572955
static VarDecl *createKernelObjClone(ASTContext &Ctx, DeclContext *DC,
29582956
const CXXRecordDecl *KernelObj) {
29592957
TypeSourceInfo *TSInfo =

0 commit comments

Comments
 (0)