Initial Commit

This commit is contained in:
Darren VanBuren 2017-08-08 05:56:57 -07:00
commit 42b2451d22
4 changed files with 83 additions and 0 deletions

6
lesson1_kernel.cl Normal file
View 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];
}