search for: test_kern

Displaying 4 results from an estimated 4 matches for "test_kern".

Did you mean: net_kern
2016 Jan 11
4
Some llvm questions (for tgsi backend)
...calls to clover + an opencl kernel 1 and 2 have been tested on a kepler card, 3 has been tested with pocl. My goal for this week is to get the tgsi backend to produce code which I can copy and paste into 2 and then have it working on a kepler card. The test program looks like this: __kernel void test_kern(__global uint *vals, __global uint *buf) { uint id = get_global_id(0); buf[32 * id] -= vals[id]; } The llvm ir looks like this: bin/clang -x cl -c -emit-llvm -target tgsi-- -include /usr/share/pocl/include/_kernel.h -o ~/foo.ir -x cl -S ~/foo.cl ; ModuleID = '/home/hans/foo.cl' ta...
2016 Jan 12
1
Some llvm questions (for tgsi backend)
...on a kepler card, 3 has been >> tested with pocl. My goal for this week is to get >> the tgsi backend to produce code which I can copy >> and paste into 2 and then have it working on a kepler card. >> >> The test program looks like this: >> >> __kernel void test_kern(__global uint *vals, __global uint *buf) >> { >> uint id = get_global_id(0); >> >> buf[32 * id] -= vals[id]; >> } >> >> The llvm ir looks like this: >> >> bin/clang -x cl -c -emit-llvm -target tgsi-- -include /usr/share/pocl/include/_kerne...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...t; 1 and 2 have been tested on a kepler card, 3 has been > tested with pocl. My goal for this week is to get > the tgsi backend to produce code which I can copy > and paste into 2 and then have it working on a kepler card. > > The test program looks like this: > > __kernel void test_kern(__global uint *vals, __global uint *buf) > { > uint id = get_global_id(0); > > buf[32 * id] -= vals[id]; > } > > The llvm ir looks like this: > > bin/clang -x cl -c -emit-llvm -target tgsi-- -include > /usr/share/pocl/include/_kernel.h -o ~/foo.ir -x cl -S ~/foo.cl...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...1 and 2 have been tested on a kepler card, 3 has been > tested with pocl. My goal for this week is to get > the tgsi backend to produce code which I can copy > and paste into 2 and then have it working on a kepler card. > > The test program looks like this: > > __kernel void test_kern(__global uint *vals, __global uint *buf) > { > uint id = get_global_id(0); > > buf[32 * id] -= vals[id]; > } > > The llvm ir looks like this: > > bin/clang -x cl -c -emit-llvm -target tgsi-- -include /usr/share/pocl/include/_kernel.h -o ~/foo.ir -x cl -S ~/foo.cl &...