Comparing TANH calculations on gpu and cpu.