Hi,
I am willing to develop a simple "algorithm" to match a pattern within a string. My idea is presented on the attached picture:

Since I am new to OpenCL, could anyone please advise:
1) How many workgroups and NDR dimensions will be needed for efficient parallel workflow?
2) What general strategy should I implement to match the String with each line of the Pattern Matrix?