[HIPIFY][SPARSE] Initial support

This commit is contained in:
emankov
2018-11-20 17:58:05 +03:00
parent 7eaf20ed8c
commit f66388bd05
11 changed files with 41 additions and 6 deletions
@@ -1,6 +1,6 @@
#include "CUDA2HIP.h"
// Maps the names of CUDA DRIVER API types to the corresponding HIP types
// Maps the names of CUDA Complex API types to the corresponding HIP types
const std::map<llvm::StringRef, hipCounter> CUDA_COMPLEX_FUNCTION_MAP{
{"cuCrealf", {"hipCrealf", CONV_COMPLEX, API_COMPLEX}},
{"cuCimagf", {"hipCimagf", CONV_COMPLEX, API_COMPLEX}},