[hip] Generate assertion message in assertion.
Change-Id: Ie66f6563e8728fd0e21cf22dcc6619e4a0e5c28d
Ta zmiana jest zawarta w:
%! (template.HTML=
Michael LIAO)złożyło 2020-04-21 16:44:40 -04:00
1 rodzic
8d63204887
złożenie
2c1933e0f3
Plik 1 zmieniony
+2
@@ -1076,6 +1076,8 @@ void __assert_fail(const char * __assertion,
|
||||
unsigned int __line,
|
||||
const char *__function)
|
||||
{
|
||||
printf("%s:%u: %s: Device-side assertion `%s' failed.\n", __file, __line,
|
||||
__function, __assertion);
|
||||
// Ignore all the args for now.
|
||||
__builtin_trap();
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika