Table 2: Results of the implementation of the Lagrange interpolation method on CPU and GPU.
Temperature Ti(°C) Density Ri in (kg / m3) CPU Time Ts in (ms) GPU Time Tp in (ms) Speed up (Ts⁄Tp)
100 927.56 8.32 0.25 33.28
150 915.48
200 903.23
251 890.55
290 880.73
305 876.93
500 826.01
800 742.45