Hello! I use OpenCl XE 2013 r2 driver (OS Windows) with SMPP 3.1.
We have some troubles with memory allocation at Phi Device. There is a simple test:
1) Allocate 100 MB buffer on device
2) Fill buffer with test data
3) Free buffer
4) Sleep 1 second
5) Run Loop again
We control memory usage with MicSmc-gui utility. After 60 loops there is full memory usage on device, but no exceptions like "not enough memory". After that we launch our real application with opencl usage and recieve Build Kernel exceptions. MicSmc-gui displays some system activity on each processor. I think, that there is some strange clReleaseMemObject behaviour in our case. Maby current OpenCL driver works bad with smpp 3.1.