Merge pull request #332 from emankov/cudaMap_2

[HIPIFY] Add cudaMalloc3D support

[ROCm/hip commit: 0f7d687271]
Esse commit está contido em:
Evgeny Mankov
2018-01-18 13:05:57 +03:00
commit de GitHub
2 arquivos alterados com 2 adições e 2 exclusões
@@ -124,7 +124,7 @@
| `cudaHostRegister` | `hipHostRegister` |
| `cudaHostUnregister` | `hipHostUnregister` |
| `cudaMalloc` | `hipMalloc` |
| `cudaMalloc3D` | |
| `cudaMalloc3D` | `hipMalloc3D` |
| `cudaMalloc3DArray` | `hipMalloc3DArray` |
| `cudaMallocArray` | `hipMallocArray` |
| `cudaMallocHost` | `hipHostMalloc` |
+1 -1
Ver Arquivo
@@ -1441,7 +1441,7 @@ const std::map<llvm::StringRef, hipCounter> CUDA_IDENTIFIER_MAP{
{"cudaMalloc", {"hipMalloc", CONV_MEM, API_RUNTIME}},
{"cudaMallocHost", {"hipHostMalloc", CONV_MEM, API_RUNTIME}},
{"cudaMallocArray", {"hipMallocArray", CONV_MEM, API_RUNTIME}},
{"cudaMalloc3D", {"hipMalloc3D", CONV_MEM, API_RUNTIME, HIP_UNSUPPORTED}},
{"cudaMalloc3D", {"hipMalloc3D", CONV_MEM, API_RUNTIME}},
{"cudaMalloc3DArray", {"hipMalloc3DArray", CONV_MEM, API_RUNTIME}},
{"cudaMallocManaged", {"hipMallocManaged", CONV_MEM, API_RUNTIME, HIP_UNSUPPORTED}},
{"cudaMallocMipmappedArray", {"hipMallocMipmappedArray", CONV_MEM, API_RUNTIME, HIP_UNSUPPORTED}},