[HIPIFY][Caffe2] Initial Caffe2 support

This commit is contained in:
Evgeny Mankov
2019-02-23 20:46:22 +03:00
parent 31c4cc78b1
commit 2619f22e5c
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}},