How to write a c extension operation with both cpu/gpu and float/double version?
There are several examples:
And there are some similar questions in forum, you can look at it~
How to write a c extension operation with both cpu/gpu and float/double version?
There are several examples:
And there are some similar questions in forum, you can look at it~