Merge pull request #740 from emankov/master

[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping
Αυτή η υποβολή περιλαμβάνεται σε:
Evgeny Mankov
2018-10-30 15:55:17 +03:00
υποβλήθηκε από GitHub
γονέας a36889113c 3489fe9ca1
υποβολή b2e6ce7be0
@@ -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}},