[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 SPARSE API types to the corresponding HIP types
// Maps the names of CUDA SPARSE API functions to the corresponding HIP functions
const std::map<llvm::StringRef, hipCounter> CUDA_SPARSE_FUNCTION_MAP{
// 5. cuSPARSE Helper Function Reference
{"cusparseCreate", {"hipsparseCreate", "", CONV_LIB_FUNC, API_SPARSE}},