Page 2 of 2

Re: Round() slow down calculations

Posted: Wed Jul 07, 2021 9:18 am
by Eugene Lutsenko
It is necessary to use an external program running on the GPU. It can be written in C#. It turns out that the calculations are accelerated about 4000 times on the NVIDIA 770

Re: Round() slow down calculations

Posted: Thu Jul 08, 2021 5:06 am
by Victorio
Chris, thats interesting and it works :clap: , I am surprised , also time with int is better than with round.
With round() test cycle running for example 3.80 seconds, and with int(number+0.5) 2.09 !
You are a genius , thanks very much.

Eugene, yes, using GPU will be very nice , but I do not know how do it. many of the functions I have in the program would work faster (for example, processing text files, converting code page etc.)