https://bugs.freedesktop.org/show_bug.cgi?id=60879
--- Comment #33 from Tom Stellard tstellar@gmail.com --- (In reply to comment #32)
Created attachment 79504 [details] Results of OpenCL test
BREAKTHROUGH!
OpenCL works. Kinda. Tried the following kernel: __kernel void add(__global const uint *a, __global const uint *b, __global uint *c){ c[0]=1; } Complicated operations such as addition, memory loads, getting global ID, etc. fail with Cannot select errors. I have no idea if this has worked with earlier LLVM/mesa.
All that is supported in the git tree is stores to global memory. I have global loads, work item functions, and a fair amount of arithmetic operations working in a local branch, and I hope to get that pushed to mainline in the next week or two.
After the kernel is run, the 0-th element of c is equal to 1. I've attached full source code and outputs for various kernels.