KhronosGroup/OpenCL-SDK

New Feature: Automatic porting of univariate special mathematical functions to the device.

rdguerrerom opened this issue · 4 comments

I am developing a methodology that will allow automatic code generation of approximant algorithms for computing arbitrary univariate special mathematical functions on the device with high speed at the cost of a controlled loss in accuracy. 

I wonder if this feature would be useful in a future release of OpenCL?

It could be used to port functions one at a time or to create a library of special mathematical functions. 

I am developing a methodology that will allow automatic code generation of approximant algorithms for computing arbitrary univariate special mathematical functions on the device with high speed at the cost of a controlled loss in accuracy. 

I wonder if this feature would be useful in a future release of OpenCL?

It could be used to port functions one at a time or to create a library of special mathematical functions.

@MathiasMagnus Can you reply to this, please?

This sounds extremely useful indeed. Do you have some samples or a working branch somewhere one could look into.

Are you asking in context of it being part of the utility libraries?

I think any computing language is better with capable numeric features at the programmers fingertips.

Thanks for answering @MathiasMagnus!

I was waiting for the opinion of one of you to create a branch and start moving my implementation there.
I am finishing the associated paper as well.

@MathiasMagnus Do me a favor, can you help me to get more opinions about this proposal, please?