Open VinInn opened 11 months ago
Will raise it internally. Open it up to broader discussion since if we add it, it will be supported for a long time.
It seems we should not document that tanpi is supported.
tanpi is not declared by CUDA SDK https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#mathematical-functions-appendix .
@VinInn Is this ticket still relevant? Thanks!
It would be useful to have all math functions implemented in the device library available through hipcc. I do understand that at the moment strict compatibility with the CUDA SDK is instead preferred.
ROCm math library implements all "pi" functions: sinpi, cospi, tanpi and their inverse (including atan2pi) hip seems to provide access only to sinpi and cospi.
see https://github.com/RadeonOpenCompute/ROCm-Device-Libs/issues/99