[HIPIFY][Caffe2] Initial Caffe2 support

[ROCm/hip commit: 2619f22e5c]
This commit is contained in:
Evgeny Mankov
2019-02-23 20:46:22 +03:00
parent 992f431c99
commit 3a57fc0a4b
13 changed files with 222 additions and 3 deletions
@@ -22,7 +22,7 @@ THE SOFTWARE.
#include "CUDA2HIP.h"
// Maps the names of CUDA Complex API types to the corresponding HIP types
// Maps the names of CUDA Complex API functions to the corresponding HIP functions
const std::map<llvm::StringRef, hipCounter> CUDA_COMPLEX_FUNCTION_MAP{
{"cuCrealf", {"hipCrealf", "", CONV_COMPLEX, API_COMPLEX}},
{"cuCimagf", {"hipCimagf", "", CONV_COMPLEX, API_COMPLEX}},