see success examples in
opencv/modules/ocl/test/test_arithm.cpp
opencv/modules/ocl/test/test_filters.cpp

could you show non-working case?