[HIPIFY][#1435][perl] Add HIP_SYMBOL wrapper to the templated Device Symbol argument of the following functions:

cudaMemcpyToSymbol, cudaMemcpyToSymbolAsync, cudaGetSymbolSize, cudaGetSymbolAddress, cudaMemcpyFromSymbol, cudaMemcpyFromSymbolAsync

+ Perl part of [#1441]
+ Implement function generateSymbolFunctions() in hipify-clang for that purposes
+ Update hipify-perl

TODO: Eliminate dim3() issue in hipify-perl as well
This commit is contained in:
Evgeny Mankov
2019-09-21 07:33:17 +03:00
parent af868cb5dc
commit 1b989bcb8d
4 changed files with 70 additions and 4 deletions
+3
View File
@@ -22,6 +22,9 @@ THE SOFTWARE.
#pragma once
extern std::set<std::string> DeviceSymbolFunctions0;
extern std::set<std::string> DeviceSymbolFunctions1;
namespace perl {
bool generate(bool Generate = true);