Skip to content

Commit 257f6ee

Browse files
committed
[SYCL] Add template parameter support for intel_reqd_sub_group_size attribute
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
1 parent 462320e commit 257f6ee

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9917,8 +9917,7 @@ class Sema final {
99179917

99189918
bool checkNSReturnsRetainedReturnType(SourceLocation loc, QualType type);
99199919

9920-
// addIntelReqdSubGroupSizeAttr - Adds an intel_reqd_sub_group_size attribute
9921-
// to a particular declaration.
9920+
// Adds an intel_reqd_sub_group_size attribute to a particular declaration.
99229921
void addIntelReqdSubGroupSizeAttr(Decl *D, const AttributeCommonInfo &CI,
99239922
Expr *E);
99249923

clang/test/SemaSYCL/sycl-device-reqd-sub-group-size-template.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify -pedantic %s
21
// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -ast-dump -verify -pedantic %s | FileCheck %s
32

43
// Test that checkes template parameter support for 'intel_reqd_sub_group_size' attribute on sycl device.

0 commit comments

Comments
 (0)