You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is printed as Array Bounds Check Failed: index= << index << m_dims[0]= << m_dims[0] in the stacktraces (unevaluated, hence not helpful).
One could use printf or snprintf together with MSG and ... variadic macros arguments which can be used as printf(MSG, __VA_ARGS__); maybe in combination with __VA_OPT__.
The text was updated successfully, but these errors were encountered:
The
MSG
argument fo theLVARRAY_ERROR_IF
is useless when used on a GPU (device):LvArray/src/Macros.hpp
Line 148 in 86af5bf
For example, the expression in
LvArray/src/ArraySlice.hpp
Lines 56 to 57 in 86af5bf
is printed as
Array Bounds Check Failed: index= << index << m_dims[0]= << m_dims[0]
in the stacktraces (unevaluated, hence not helpful).One could use
printf
orsnprintf
together withMSG
and...
variadic macros arguments which can be used asprintf(MSG, __VA_ARGS__);
maybe in combination with__VA_OPT__
.The text was updated successfully, but these errors were encountered: