Round() slow down calculations

This forum is for eXpress++ general support.
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Round() slow down calculations

#11 Post 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

Victorio
Posts: 620
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Round() slow down calculations

#12 Post 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.)

Post Reply