Page 2 of 2

Brute force Double PETSCII search with Python

Posted: Tue Jun 29, 2021 5:25 am
by kliepatsch

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

Brute force Double PETSCII search with Python

Posted: Tue Jun 29, 2021 1:18 pm
by desertfish

wow!


Brute force Double PETSCII search with Python

Posted: Tue Jun 29, 2021 1:49 pm
by ZeroByte

The results look like impressionist paintings. Very cool.


Brute force Double PETSCII search with Python

Posted: Wed Jun 30, 2021 9:08 am
by kliepatsch

That's a nice description. Yes, slightly "blurry" in the sense that the image is made out of patches of color