I'm learning to use Aparapi with Java 8 so GPU can be used to speed up my apps, but I wonder if Aparapi can handle string processing.
For instance, if I have 10,000 files to go through and my app needs to read in the text and go through each line to extract and parse float numbers and then do some computation and store the result in some place like a hashmap or list or array, my CPU is running at near 100% when I use multiple threads, and it runs for nearly an hour to get the job done.
Can my app benefit from Aparapi with Java 8 to allocate some computing to the GPU ? I know it can do [ + - * / ], but can Aparapi do things like :
String lines[]=text.split("\n");
for (int i=0;i<lines.length;i++)
{
float number=Float.parseFloat(lines[i]);
number*=2000;
}