File operation with jcuda?

hi!
I am newbie in jcuda(very newb?e:) ) and i have a question about capabilities of jcuda:
As i see on jcuda sample codes, integers ,arrays etc are used to implement, my question is;
can i use a file as an input and get a file as an output? My aim is converting a file to differet file( i use jodconverter for this). Then i want to do this converting operation with gpu. Is it possible?

I’d be glad if anyone could help me
Zato

Hello

The actual file operations will of course not be possible with JCuda (or with CUDA). CUDA is only used for complex computations. So if the conversion of the file contents is complex and time consuming, it might be possible to use a pattern like


byte inputData[] = readFromFile();
byte outputData[] = convertWithJCuda(inputData);
writeToFile(outputData);

but the file operations and JCuda are completely independent of each other.

bye