Files
compute-runtime/opencl/test/unit_test/test_files/printf.cl
Mateusz Hoppe 35abaf4592 Add aub test with printf kernel
Change-Id: If241bcf10875c49614a7ad5dbbba5a17bd526c2e
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-15 11:13:35 +02:00

15 lines
232 B
Common Lisp

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
__kernel void test() {
printf("OpenCL\n");
}
__kernel void test_printf_number(__global uint* in) {
printf("in[0] = %d\n", in[0]);
}