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

[ROCm/clr commit: 3489fe9ca1]
此提交包含在:
Evgeny Mankov
2018-10-30 15:53:00 +03:00
父節點 ab5f0e7c8f
當前提交 4ae4f1073f
+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}},