P4 to Git Change 2044309 by cpaquot@cpaquot-ocl-lc-lnx on 2019/12/11 19:19:15

SWDEV-145570 - [hip] special case const char* for logs in case it's a null pointer.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/trace_helper.h#3 edit


[ROCm/hip commit: de46a0e205]
Bu işleme şunda yer alıyor:
foreman
2019-12-11 19:26:50 -05:00
ebeveyn ab8b693e4a
işleme 41e7be0fa6
+5
Dosyayı Görüntüle
@@ -125,6 +125,11 @@ inline std::string ToString(T v) {
return ss.str();
};
template <>
inline std::string ToString(const char* v) {
return ToHexString<const void*>(v);
};
template <>
inline std::string ToString(hipFunction_t v) {
std::ostringstream ss;