Merge pull request #332 from emankov/cudaMap_2

[HIPIFY] Add cudaMalloc3D support
Tá an tiomantas seo le fáil i:
Evgeny Mankov
2018-01-18 13:05:57 +03:00
tiomanta ag GitHub
tuismitheoir 934fb8dd82 eb27585136
tiomantas a8cae9ec07
D'athraigh 2 comhad le 2 breiseanna agus 2 scriosta
@@ -124,7 +124,7 @@
| `cudaHostRegister` | `hipHostRegister` |
| `cudaHostUnregister` | `hipHostUnregister` |
| `cudaMalloc` | `hipMalloc` |
| `cudaMalloc3D` | |
| `cudaMalloc3D` | `hipMalloc3D` |
| `cudaMalloc3DArray` | `hipMalloc3DArray` |
| `cudaMallocArray` | `hipMallocArray` |
| `cudaMallocHost` | `hipHostMalloc` |
+1 -1
Féach ar an gComhad
@@ -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}},