Skip to content

Commit 9e9faf9

Browse files
authored
[SYCL][NFC] Remove outdated confusing comment (#1779)
We don't mark all called functions with `sycl_device` attribute anymore.
1 parent e157d24 commit 9e9faf9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,6 @@ void Sema::ConstructOpenCLKernel(FunctionDecl *KernelCallerFunc,
14581458
}
14591459

14601460
void Sema::MarkDevice(void) {
1461-
// Let's mark all called functions with SYCL Device attribute.
14621461
// Create the call graph so we can detect recursion and check the validity
14631462
// of new operator overrides. Add the kernel function itself in case
14641463
// it is recursive.

0 commit comments

Comments
 (0)