• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2uniform int bound;
3
4#define FOO 3
5#define BAR 2
6
7[numthreads(2+2, 2*3, (1+FOO)*BAR)]
8void main()
9{
10    [unroll(5*2 + 1) ]
11        for (int x=0; x<bound; ++x)
12            ;
13}
14