Double Precision Exp Function HD5870

Discussion created by Pheelios on Jan 28, 2010
Latest reply on Jan 29, 2010 by hazeman

I am a postgrad student doing quantum field theory monte carlo simulations and I have recently acquired an HD5870 card not realizing it didn't have full double precision math support yet.  The main function I need from the library is "exp".

In principle I thought one could write one's own code for "exp" out of the basic arithmetic operators (that have double support).  The thing is I did and it gave the required result (running on CPU) but mine was orders of magnitude slower than the math library function.

Is there anyway one can write a full speed exponential function prior to full double precision support, possibly using CAL if it wouldn't require a massive undertaking.