dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
add vs6621 support in android
lin
2025-08-21
57113df3a0e2be01232281fad9a5f2c060567981
[~lzh/A133.git]
/
android
/
external
/
clang
/
test
/
Parser
/
opencl-unroll-hint.cl
1
2
3
4
5
6
7
//RUN: %clang_cc1 -O0 -cl-std=CL2.0 -fsyntax-only -verify %s
kernel void B (global int *x) {
__attribute__((opencl_unroll_hint(42)))
if (x[0]) // expected-error {{OpenCL only supports 'opencl_unroll_hint' attribute on for, while, and do statements}}
x[0] = 15;
}