[hip] Generate assertion message in assertion.

Change-Id: Ie66f6563e8728fd0e21cf22dcc6619e4a0e5c28d
Esse commit está contido em:
Michael LIAO
2020-04-16 17:18:13 -04:00
commit 19f793f1cd
+2
Ver Arquivo
@@ -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();
}