refine ee kernel file to improve performance.

* use sampler to detect edge automatically instead of coordinate in cl code.
1 file changed