[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping.

[ROCm/hip commit: 104be4b677]
Dieser Commit ist enthalten in:
Evgeny Mankov committed 2018-10-30 15:53:00 +03:00
1 Ursprung 5f3b1882bb
Commit e4d356fdae
1 Datei geändert
+2
@@ -9,6 +9,8 @@ const std::map<llvm::StringRef, hipCounter> CUDA_RUNTIME_TYPE_NAME_MAP {
{"cudaChannelFormatDesc", {"hipChannelFormatDesc", CONV_TYPE, API_RUNTIME}},
// no analogue
{"cudaDeviceProp", {"hipDeviceProp_t", CONV_TYPE, API_RUNTIME}},
// NOTE: int warpSize is a field of cudaDeviceProp
{"warpSize", {"hipWarpSize", CONV_TYPE, API_RUNTIME}},
// no analogue
{"cudaEglFrame", {"hipEglFrame", CONV_TYPE, API_RUNTIME, HIP_UNSUPPORTED}},