summaryrefslogtreecommitdiff
path: root/utests/test_printf.cpp
blob: 36015745322cf2796ecf46e002c4460c844df622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "utest_helper.hpp"

void test_printf(void)
{
  // Setup kernel and buffers
  OCL_CREATE_KERNEL("test_printf");
  globals[0] = 16;
  locals[0] = 16;
  globals[1] = 4;
  locals[1] = 4;
  globals[2] = 8;
  locals[2] = 2;

  // Run the kernel on GPU
  OCL_NDRANGE(3);
}

MAKE_UTEST_FROM_FUNCTION(test_printf);