In this post, we will see a comparison of the same calculation running on the CPU and GPU. The time taken by the simulations depends of course on your CPU and GPU, so the numbers presented here are not absolute.

First example, calculation of the steady state high finesse cavity.

Grid size | Calculation time on the CPU | Calculation time on the GPU |
---|---|---|

1024 x 1024 | 1 | 0.34 |

512 x 512 | 0.18 | 0.04 |

256 x 256 | 0.08 | 0.02 |

Second example, calculation time for a cavity FSR scan. To be noted, this procedure has been particularly optimised for the GPU, see this article.

Calculation time on the CPU | Calculation time on the GPU |
---|---|

1 | 0.06 |