OpenCL-SDK icon indicating copy to clipboard operation
OpenCL-SDK copied to clipboard

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

Open rdguerrerom opened this issue 2 years ago • 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. 

rdguerrerom avatar Nov 17 '22 02:11 rdguerrerom

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?

rdguerrerom avatar Nov 26 '22 20:11 rdguerrerom

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.

MathiasMagnus avatar Nov 26 '22 20:11 MathiasMagnus

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.

rdguerrerom avatar Nov 26 '22 21:11 rdguerrerom

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

rdguerrerom avatar Nov 26 '22 21:11 rdguerrerom