opencl printf test

This commit is contained in:
Blaise Tine
2021-06-14 02:01:44 -04:00
parent e2743046a3
commit 01c1c02648
4 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
__kernel void test_printf (__global const int *A)
{
int gid = get_global_id(0);
int value = A[gid];
printf("Print Test! value[%d]=%d\n", gid, value);
}