Test of the GPU pattern recognition
New version for GPU computing