Brute force Double PETSCII search with Python
Posted: Tue Jun 29, 2021 5:25 am
Heya, progrss here. I managed to port the search over to the GPU. Search time reduced from 10-15 mins down to 15 seconds for a full-on brute force double petscii search.
In order to run it, you need a CUDA-capable GPU, the CUDA toolkit installed, and additionally to the aforementioned Python packages, also NumBa. Some CUDA-capable GPUs are not listed on the official CUDA website, simply because they are older... mine for instance is not listed as CUDA-capable, yet did the Job just fine: Nvidia GeForce MX130.
It was a pain to get it working. But it was a nice challenge to try to get the maximum of computing power out of my machine ?
Find the script attached.
double_petscii_brute_force_8.py