lbcb-sci/racon

GPU option

Opened this issue · 1 comments

Hi

It would be great to have a "--GPU option" and have racon fail to run rather than go on using CPUs if it cannot detect the GPU(s)

Best regards
Rasmus

Hi Rasmus,
I think that Racon should throw a runtime error if it was compiled for Cuda and no devices are found (https://github.com/lbcb-sci/racon/blob/master/src/cuda/cudapolisher.cpp#L50-L53). On the other hand, when running on GPU some of the tasks the GPU version cannot handle are solved on the CPU.

Best regards,
Robert