1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# CUCOMPLEX API supported by HIP
## **1. cuComplex Data types**
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**|
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:|
|`cuComplex`| | | | |`hipComplex`|1.6.0| | | | |
|`cuDoubleComplex`| | | | |`hipDoubleComplex`|1.6.0| | | | |
|`cuFloatComplex`| | | | |`hipFloatComplex`|1.6.0| | | | |
## **2. cuComplex API functions**
|**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**|
|:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:|
|`cuCabs`| | | | |`hipCabs`|1.6.0| | | | |
|`cuCabsf`| | | | |`hipCabsf`|1.6.0| | | | |
|`cuCadd`| | | | |`hipCadd`|1.6.0| | | | |
|`cuCaddf`| | | | |`hipCaddf`|1.6.0| | | | |
|`cuCdiv`| | | | |`hipCdiv`|1.6.0| | | | |
|`cuCdivf`| | | | |`hipCdivf`|1.6.0| | | | |
|`cuCfma`| | | | |`hipCfma`|1.6.0| | | | |
|`cuCfmaf`| | | | |`hipCfmaf`|1.6.0| | | | |
|`cuCimag`| | | | |`hipCimag`|1.6.0| | | | |
|`cuCimagf`| | | | |`hipCimagf`|1.6.0| | | | |
|`cuCmul`| | | | |`hipCmul`|1.6.0| | | | |
|`cuCmulf`| | | | |`hipCmulf`|1.6.0| | | | |
|`cuComplexDoubleToFloat`| | | | |`hipComplexDoubleToFloat`|1.6.0| | | | |
|`cuComplexFloatToDouble`| | | | |`hipComplexFloatToDouble`|1.6.0| | | | |
|`cuConj`| | | | |`hipConj`|1.6.0| | | | |
|`cuConjf`| | | | |`hipConjf`|1.6.0| | | | |
|`cuCreal`| | | | |`hipCreal`|1.6.0| | | | |
|`cuCrealf`| | | | |`hipCrealf`|1.6.0| | | | |
|`cuCsub`| | | | |`hipCsub`|1.6.0| | | | |
|`cuCsubf`| | | | |`hipCsubf`|1.6.0| | | | |
|`make_cuComplex`| | | | |`make_hipComplex`|1.6.0| | | | |
|`make_cuDoubleComplex`| | | | |`make_hipDoubleComplex`|1.6.0| | | | |
|`make_cuFloatComplex`| | | | |`make_hipFloatComplex`|1.6.0| | | | |
\*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental
|