pre_test.br 219 Bytes
Newer Older
Mark Friedrichs's avatar
Mark Friedrichs committed
1
2
3
4
5
6
7
8
9
10
11
/* pre-tests, known to be right */

kernel void pre_test0( float input<>, out float output<> )
{
  output = input;
}

kernel void pre_test1( float input<>, out float output<> )
{
  output = ( input * input ) + input;
}