Change the #define of GENERIC_GRID_LAUNCH to take valueat compilation, disable warning messages

Change-Id: Ic6c011529e26de359bcda1e7083727e7ee52887b
This commit is contained in:
pensun
2017-03-17 19:57:20 +00:00
committed by Sun, Peng
parent 33c38de407
commit 30d5f4ea10
6 changed files with 18 additions and 14 deletions
-2
View File
@@ -70,7 +70,6 @@ inline std::string ToString(hipEvent_t v)
ss << v;
return ss.str();
};
#ifndef GENERIC_GRID_LAUNCH
// hipStream_t
template <>
inline std::string ToString(hipStream_t v)
@@ -84,7 +83,6 @@ inline std::string ToString(hipStream_t v)
return ss.str();
};
#endif //GENERIC_GRID_LAUNCH
// hipMemcpyKind specialization
template <>