coggy

Manual implementation of trigonometric functions on doubles

Discussion created by coggy on Aug 5, 2010
Latest reply on Aug 7, 2010 by coggy

Hi, I'm currently using OpenCL on a Radeon HD 5870 for an academic project doing calculations on doubles. As the only operations currently supported on doubles are addition, subtraction and multiplication, I am thinking about implementing at least cos(), possibly other functions manually.

Does anyone have any experience implementing trigonometric functions using OpenCL, e.g. the Cordic algorithm? Can I expect to achieve reasonable performance this way?

Thanks for any answers.

Outcomes