1-kernel approach trial by using atomic functions. Still not working: image segmatition differs from sequencial program; but the host-kernel structure works.