You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidf3(void) __attribute__((__min_vector_width__(128), __min_vector_width__(256))); /* expected-warning {{attribute '__min_vector_width__' is already applied with different parameters}} */
8
+
voidf3(void) __attribute__((__min_vector_width__(128), __min_vector_width__(256))); /* expected-warning {{attribute '__min_vector_width__' is already applied with different arguments}} */
9
9
10
10
voidf4(void) __attribute__((__min_vector_width__())); /* expected-error {{'__min_vector_width__' attribute takes one argument}} */
kernel __attribute__((vec_type_hint(bool))) voidkernel4() {} //expected-error{{a non-vector or non-vectorizable scalar type is an invalid argument to attribute 'vec_type_hint'}}
10
10
11
-
kernel __attribute__((vec_type_hint(int))) __attribute__((vec_type_hint(float))) voidkernel5() {} //expected-warning{{attribute 'vec_type_hint' is already applied with different parameters}}
11
+
kernel __attribute__((vec_type_hint(int))) __attribute__((vec_type_hint(float))) voidkernel5() {} //expected-warning{{attribute 'vec_type_hint' is already applied with different arguments}}
kernel __attribute__((work_group_size_hint(1,2,3))) __attribute__((work_group_size_hint(3,2,1))) voidkernel7() {} //expected-warning{{attribute 'work_group_size_hint' is already applied with different parameters}}
15
+
kernel __attribute__((work_group_size_hint(1,2,3))) __attribute__((work_group_size_hint(3,2,1))) voidkernel7() {} //expected-warning{{attribute 'work_group_size_hint' is already applied with different arguments}}
16
16
17
17
__attribute__((reqd_work_group_size(8,16,32))) voidkernel8(){} // expected-error {{attribute 'reqd_work_group_size' can only be applied to an OpenCL kernel}}
__attribute__((intel_reqd_sub_group_size(8))) voidkernel14(){} // expected-error {{attribute 'intel_reqd_sub_group_size' can only be applied to an OpenCL kernel}}
38
38
kernel __attribute__((intel_reqd_sub_group_size(0))) voidkernel15(){} // expected-error {{'intel_reqd_sub_group_size' attribute must be greater than 0}}
39
-
kernel __attribute__((intel_reqd_sub_group_size(8))) __attribute__((intel_reqd_sub_group_size(16))) voidkernel16() {} //expected-warning{{attribute 'intel_reqd_sub_group_size' is already applied with different parameters}}
39
+
kernel __attribute__((intel_reqd_sub_group_size(8))) __attribute__((intel_reqd_sub_group_size(16))) voidkernel16() {} //expected-warning{{attribute 'intel_reqd_sub_group_size' is already applied with different arguments}}
40
40
41
41
__kernel __attribute__((work_group_size_hint(8,-16,32))) voidneg1() {} //expected-error{{'work_group_size_hint' attribute requires a non-negative integral compile time constant expression}}
42
42
__kernel __attribute__((reqd_work_group_size(8,16,-32))) voidneg2(){} // expected-error{{'reqd_work_group_size' attribute requires a non-negative integral compile time constant expression}}
0 commit comments