Sorry (not entirely sure why you coded the other method then).
See also http://gmplib.org/cgi-bin/gmp_calc.pl?expr=1000000!
Well under a second. (I didn't think a Java implementation could be the fastest going).
Printable View
Sorry (not entirely sure why you coded the other method then).
See also http://gmplib.org/cgi-bin/gmp_calc.pl?expr=1000000!
Well under a second. (I didn't think a Java implementation could be the fastest going).
Ya.... http://gmplib.org/cgi-bin/gmp_calc.pl?expr=500000000000
500000000000! is also under a second. :shrug:
Infact 50000000000000000000000000000000000000000000000000 0000000! is also under a second.
Its a broken site. ;)
Well, I am not doing what many other algorithm are doing, I do not Store the previous known n! in a table file ... I beleive http://gmplib.org/cgi-bin/gmp_calc.pl?expr=500000000000 does ;)
I am writing a program that will really do all the calculation.
Ah right. In your link the "!" was outside.... ;)
http://gmplib.org/cgi-bin/gmp_calc.pl?expr=2000000!
:cool:Quote:
The result of executing 2000000! is:
computation took 1526 ms
result is about 11733474 digits, not printing it
well, it is all about the funny GPGPU claims ...
http://2.bp.blogspot.com/_srnPcN5adC...0/NVBSrayT.jpg
This is nVidia 1000X faster than CPU raytracing ... lol ... do i need to add something ?
but ssssshhhhh, don't say anybody ... Raytracing is suppose to look like this:
http://2.bp.blogspot.com/_srnPcN5adC...3_334111_n.jpg
lol
Ya it is very funny....
http://dl.getdropbox.com/u/600721/ElcGPU.JPG
http://dl.getdropbox.com/u/600721/ElcNoGPU.JPG
I need to give Elcomosoft Wireless Security Advisor a try on my 4870. Seems to work well with ATI hardware.
http://www.elcomsoft.com/images/ewsa.png
it is funny but what else can nvidia say? our gpu are 10-20 times faster and you have to have mad skills to achieve this. by the way you might want to check out renderants.every raytracing demo on cuda zone sucks.
Works very well on GPU my friend. You see. the lesson we are learning here today is that to speak in absolute terms is wrong regarding CUDA, ATi Stream or X86 based CPU's. The thing is... and I know Dr. Who will agree, is that CUDA/GPU based vid. encoding might be bad for high end stuff... and plenty of things that GPU can't do... BUT... there are plenty of things a GPU can do.... and can do very fast in the field of computing, besides rendering games etc.
I think we find that CPUs and GPUs work well together to handle complex tasks that take advantage of each of their strengths. OpenCL will use both GPUs and CPUs at the same time and that is something to look forward to. Also a company called Caustic is using both CPUs and GPUs to simultaneously accelerate ray-tracing.
To further illustrate my point, take out your GPU and try to run Crysis. Then reinstall your GPU and take out your CPU and try to run Crysis. Seems we've been divvying up workloads in applications since the GPU hit the scene. Why should future apps that take advantage of computer shaders be any different?
The most funny of all, an SSD increases more the performance the score on the big industry benchmarks than upgrading to a discret graphic card ... hehehe ... something to think about ...
Then, when you plug the SSD, the increase is mostly CPU related ...
Francois
PS: I hope you noted the humours tone.
So you're impressed by a comparison between a finished CPU screenshot and a shot of a GPU doing it in almost real-time (something a CPU can't even dream of)? Don't let other people think for you my friend. There's no difference in quality between CPU and GPU ray-tracing, just speed. Anybody who says different is intentionally talking bull or simply doesn't know what they're talking bout.
yeah, why cant people be happy that we have SOME kind of real time raytracing. its new and will be expanding very rapidly in the next few years. one screenshot took minutes to hours, the other was done in milliseconds. there were demos of raytracing were the final results looked identical to cpu renders, and it looked like it took 3 seconds to get a "perfect" frame.
OpenCL tutorial (video)
http://www.macresearch.org/files/opencl/Episode_2.m4v
http://www.macresearch.org/opencl_episode2
these are some pretty awesome gpgpu numbers:
http://fah-web.stanford.edu/cgi-bin/...?qtype=osstats
its a pity my i7 only gets 24 gigaflops.:shrug: