4 ms·
We used parallel Python to implement the first version of the clustering algorithm. Although the CPUs weren't particularly beefy, the implementation was by no m
by tonydiv 13y ago
We used parallel Python to implement the first version of the clustering algorithm. Although the CPUs weren't particularly beefy, the implementation was by no means poor. It's worth mentioning that the laptop GPU wasn't powerful either.
- aktau 13y agoAh, python... That explains it.
- sanskritabelt 13y agoIn that case, how much of your 18000x speedup is due to the GPU and how much of it is due to re-implementing the algorithm in a compiled language? Python->C/C++/etc is a 100x-1000x speedup right off the bat. That's not a fair CPU/GPU comparison at all.
- tonydiv 13y agoYou're right, it isn't a perfectly fair comparison. However, even if we had coded it in C++, the run time difference would still have been significant. We're just sharing our story at this point. Next, we'll be sharing our whitepaper and data. We rather start gathering feedback now, as opposed to after writing 100k LoC for the compiler.