This task can be performed using Finite Field Assembly
Emulate GPU on CPU
Best product for this task

Finite Field Assembly
dev-tools
Finite Field Assembly (FF-ASM) is a programming language designed to emulate GPUs on regular CPUs using Number Theory and Finite Field Theory. It's blazingly fast and compiles to C.

What to expect from an ideal product
- Converts finite field math into fast C code that runs on regular computers
- Uses GPU-like tricks to speed up calculations without needing special hardware
- Takes high-level field operations and optimizes them automatically
- Handles all the complex number theory and math under the hood
- Produces clean, readable C code that works across different systems