Merge pull request #1507 from emankov/master
[HIPIFY] Remove duplicates
This commit is contained in:
@@ -440,8 +440,6 @@
|
|||||||
| `cudaMemcpyFromSymbolAsync` | |
|
| `cudaMemcpyFromSymbolAsync` | |
|
||||||
| `cudaMemcpyToSymbol` | |
|
| `cudaMemcpyToSymbol` | |
|
||||||
| `cudaMemcpyToSymbolAsync` | |
|
| `cudaMemcpyToSymbolAsync` | |
|
||||||
| `cudaOccupancyMaxActiveBlocksPerMultiprocessor` |`hipOccupancyMaxActiveBlocksPerMultiprocessor` |
|
|
||||||
| `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags` |`hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags`|
|
|
||||||
| `cudaOccupancyMaxPotentialBlockSize` |`hipOccupancyMaxPotentialBlockSize` |
|
| `cudaOccupancyMaxPotentialBlockSize` |`hipOccupancyMaxPotentialBlockSize` |
|
||||||
| `cudaOccupancyMaxPotentialBlockSizeWithFlags` | |
|
| `cudaOccupancyMaxPotentialBlockSizeWithFlags` | |
|
||||||
| `cudaOccupancyMaxPotentialBlockSizeVariableSMem` | |
|
| `cudaOccupancyMaxPotentialBlockSizeVariableSMem` | |
|
||||||
@@ -484,7 +482,6 @@
|
|||||||
| struct |`cudaTextureDesc` | |`hipTextureDesc` |
|
| struct |`cudaTextureDesc` | |`hipTextureDesc` |
|
||||||
| struct |`textureReference` | |`textureReference` |
|
| struct |`textureReference` | |`textureReference` |
|
||||||
| struct |`surfaceReference` | | |
|
| struct |`surfaceReference` | | |
|
||||||
| struct |`CUuuid_st` | | |
|
|
||||||
| enum |***`cudaCGScope`*** | 9.0 | |
|
| enum |***`cudaCGScope`*** | 9.0 | |
|
||||||
| 0 |*`cudaCGScopeInvalid`* | 9.0 | |
|
| 0 |*`cudaCGScopeInvalid`* | 9.0 | |
|
||||||
| 1 |*`cudaCGScopeGrid`* | 9.0 | |
|
| 1 |*`cudaCGScopeGrid`* | 9.0 | |
|
||||||
@@ -974,7 +971,6 @@
|
|||||||
| typedef |`cudaArray_const_t` | |`hipArray_const_t` |
|
| typedef |`cudaArray_const_t` | |`hipArray_const_t` |
|
||||||
| typedef |`cudaEvent_t` | |`hipEvent_t` |
|
| typedef |`cudaEvent_t` | |`hipEvent_t` |
|
||||||
| struct |`CUevent_st` | |`ihipEvent_t` |
|
| struct |`CUevent_st` | |`ihipEvent_t` |
|
||||||
| typedef |`cudaGraphicsResource_t` | | |
|
|
||||||
| struct |`cudaMipmappedArray` | |`hipMipmappedArray` |
|
| struct |`cudaMipmappedArray` | |`hipMipmappedArray` |
|
||||||
| typedef |`cudaMipmappedArray_t` | |`hipMipmappedArray_t` |
|
| typedef |`cudaMipmappedArray_t` | |`hipMipmappedArray_t` |
|
||||||
| typedef |`cudaMipmappedArray_const_t` | |`hipMipmappedArray_const_t` |
|
| typedef |`cudaMipmappedArray_const_t` | |`hipMipmappedArray_const_t` |
|
||||||
|
|||||||
@@ -54,20 +54,6 @@
|
|||||||
| uint | `curandDirectionVectors64_t` | | |
|
| uint | `curandDirectionVectors64_t` | | |
|
||||||
| struct | `curandGenerator_st` | | `hiprandGenerator_st` |
|
| struct | `curandGenerator_st` | | `hiprandGenerator_st` |
|
||||||
| struct* | `curandGenerator_t` | | `hiprandGenerator_t` |
|
| struct* | `curandGenerator_t` | | `hiprandGenerator_t` |
|
||||||
| enum |***`curandOrdering`*** | | |
|
|
||||||
| enum |***`curandOrdering_t`*** | | |
|
|
||||||
| 100 |*`CURAND_ORDERING_PSEUDO_BEST`* | | |
|
|
||||||
| 101 |*`CURAND_ORDERING_PSEUDO_DEFAULT`* | | |
|
|
||||||
| 102 |*`CURAND_ORDERING_PSEUDO_SEEDED`* | | |
|
|
||||||
| 201 |*`CURAND_ORDERING_QUASI_DEFAULT`* | | |
|
|
||||||
| enum |***`curandDirectionVectorSet`*** | | |
|
|
||||||
| enum |***`curandDirectionVectorSet_t`*** | | |
|
|
||||||
| 101 |*`CURAND_DIRECTION_VECTORS_32_JOEKUO6`* | | |
|
|
||||||
| 102 |*`CURAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6`* | | |
|
|
||||||
| 103 |*`CURAND_DIRECTION_VECTORS_64_JOEKUO6`* | | |
|
|
||||||
| 104 |*`CURAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6`* | | |
|
|
||||||
| uint | `curandDirectionVectors32_t` | | `hiprandDirectionVectors32_t` |
|
|
||||||
| uint | `curandDirectionVectors64_t` | | |
|
|
||||||
| double | `curandDistribution_st` | | |
|
| double | `curandDistribution_st` | | |
|
||||||
| double | `curandHistogramM2V_st` | | |
|
| double | `curandHistogramM2V_st` | | |
|
||||||
| double* | `curandDistribution_t` | | |
|
| double* | `curandDistribution_t` | | |
|
||||||
|
|||||||
@@ -333,12 +333,6 @@ const std::map<llvm::StringRef, hipCounter> CUDA_BLAS_FUNCTION_MAP{
|
|||||||
{"cublasCtrsm", {"hipblasCtrsm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
{"cublasCtrsm", {"hipblasCtrsm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
||||||
{"cublasZtrsm", {"hipblasZtrsm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
{"cublasZtrsm", {"hipblasZtrsm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
||||||
|
|
||||||
// TRSM - Batched Triangular Solver
|
|
||||||
{"cublasStrsmBatched", {"hipblasStrsmBatched", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
|
||||||
{"cublasDtrsmBatched", {"hipblasDtrsmBatched", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
|
||||||
{"cublasCtrsmBatched", {"hipblasCtrsmBatched", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
|
||||||
{"cublasZtrsmBatched", {"hipblasZtrsmBatched", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
|
||||||
|
|
||||||
// TRMM
|
// TRMM
|
||||||
{"cublasStrmm", {"hipblasStrmm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
{"cublasStrmm", {"hipblasStrmm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
||||||
{"cublasDtrmm", {"hipblasDtrmm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
{"cublasDtrmm", {"hipblasDtrmm", "", CONV_LIB_FUNC, API_BLAS, UNSUPPORTED}},
|
||||||
|
|||||||
@@ -354,7 +354,6 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DEVICE_FUNC_MAP{
|
|||||||
{"__vabsss2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vabsss2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
{"__vadd2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vadd2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
{"__vaddss2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vaddss2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
{"__vaddss2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
|
||||||
{"__vaddus2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vaddus2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
{"__vavgs2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vavgs2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
{"__vavgu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
{"__vavgu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}},
|
||||||
@@ -514,7 +513,6 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DEVICE_FUNC_MAP{
|
|||||||
{"__short_as_half", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__short_as_half", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__ushort_as_half", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__ushort_as_half", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__ldg", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__ldg", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__ldg", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
|
||||||
{"__ldcg", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__ldcg", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__ldca", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__ldca", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__ldcs", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__ldcs", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
@@ -522,13 +520,11 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DEVICE_FUNC_MAP{
|
|||||||
{"__hne2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hne2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hle2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hle2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hge2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hge2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hge2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
|
||||||
{"__hlt2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hlt2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hgt2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hgt2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hequ2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hequ2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hneu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hneu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hleu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hleu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hleu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
|
||||||
{"__hgeu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hgeu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hltu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hltu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"__hgtu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"__hgtu2", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
@@ -611,7 +607,6 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DEVICE_FUNC_MAP{
|
|||||||
{"atomicMax", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicMax", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"atomicInc", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicInc", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"atomicDec", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicDec", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"atomicDec", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
|
||||||
{"atomicAnd", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicAnd", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"atomicOr", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicOr", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
{"atomicXor", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
{"atomicXor", {"", "", CONV_DEVICE_FUNC, API_RUNTIME}},
|
||||||
|
|||||||
@@ -581,7 +581,7 @@ const std::map<llvm::StringRef, hipCounter> CUDA_SPARSE_FUNCTION_MAP{
|
|||||||
|
|
||||||
{"cusparseScsr2csr_compress", {"hipsparseScsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
{"cusparseScsr2csr_compress", {"hipsparseScsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
||||||
{"cusparseDcsr2csr_compress", {"hipsparseDcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
{"cusparseDcsr2csr_compress", {"hipsparseDcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
||||||
{"cusparseDcsr2csr_compress", {"hipsparseDcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
{"cusparseCcsr2csr_compress", {"hipsparseCcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
||||||
{"cusparseZcsr2csr_compress", {"hipsparseZcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
{"cusparseZcsr2csr_compress", {"hipsparseZcsr2csr_compress", "", CONV_LIB_FUNC, API_SPARSE, HIP_UNSUPPORTED}},
|
||||||
|
|
||||||
{"cusparseScsr2hyb", {"hipsparseScsr2hyb", "", CONV_LIB_FUNC, API_SPARSE}},
|
{"cusparseScsr2hyb", {"hipsparseScsr2hyb", "", CONV_LIB_FUNC, API_SPARSE}},
|
||||||
|
|||||||
Reference in New Issue
Block a user