Merge pull request #740 from emankov/master

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

[ROCm/clr commit: b2e6ce7be0]
此提交包含在:
Evgeny Mankov authored and GitHub committed 2018-10-30 15:55:17 +03:00
2 父節點 73c69744d4 4ae4f1073f
當前提交 c5db5e4c4a
1 file changed
+2
+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}},