replace __hcc_workweek__ with HC_FEATURE_PRINTF flag
Ta zmiana jest zawarta w:
%! (template.HTML=
Siu Chi Chan)złożyło 2017-10-23 18:30:08 -04:00
1 rodzic
0e3d824e8d
złożenie
5b9ce032d6
Plik 1 zmieniony
+1
-1
+1
-1
@@ -616,7 +616,7 @@ void ihipDevice_t::locked_reset()
|
||||
|
||||
//FIXME - Calling am_memtracker_reset is really bad since it destroyed all buffers allocated by the HCC runtime as well
|
||||
//such as the printf buffer. Re-initialze the printf buffer as a workaround for now.
|
||||
#if (__hcc_workweek__ >= 17423)
|
||||
#ifdef HC_FEATURE_PRINTF
|
||||
Kalmar::getContext()->initPrintfBuffer();
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika