The apples to apples comparison would be CUDA cores to execution units. Basically how many units which can perform a math operation. Apple's architecture has 128 units per core, so a 32 core M1 Max has the same theoretical compute power as 4096 CUDA cores. This of course doesn't take into consideration clock speed or architectural differences.