2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2020-02-23 05:21:06 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
__kernel void test() {
|
|
|
|
printf("OpenCL\n");
|
|
|
|
}
|
2020-04-17 00:29:19 +08:00
|
|
|
|
|
|
|
__kernel void test_printf_number(__global uint* in) {
|
|
|
|
printf("in[0] = %d\n", in[0]);
|
|
|
|
}
|