Research Article

Fast and Accurate Numerical Solution of Allen–Cahn Equation

Table 3

Runtime Result in 2D(sec).

Initial value
CircleDumbbellStarTorusMazeRandom
12001150011300123001400112001

CPU:Python680.09 (185.31)1736.05 (251.6)729.74 (128.47)1326.82 (165.65)60.15 (52.3)674.63 (119.62)
CPU:Pytorch14.73 (4.01)30.67 (4.44)17.60 (3.1)37.85 (4.73)2.98 (2.59)17.79 (3.15)
GPU:Pytorch3.676.905.688.011.155.64

The values in parentheses describe how many times the difference is based on GPU:Pytorch time for each test.