Initial Commit
This commit is contained in:
commit
42b2451d22
4 changed files with 83 additions and 0 deletions
6
lesson1_kernel.cl
Normal file
6
lesson1_kernel.cl
Normal file
|
@ -0,0 +1,6 @@
|
|||
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
|
||||
__constant char hw[] = "Hello World\n";
|
||||
__kernel void hello(__global char * out) {
|
||||
size_t tid = get_global_id(0);
|
||||
out[tid] = hw[tid];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue