Matthias Hochsteger
32e0026128
Some memory tracer fixes/features
...
If range checks are enabled:
- Trace all objects
- Check if memory usage never gets negative
- Check if memory usage is 0 in destructor
- Track total memory usage (use pyngcore.GetTotalMemory())
2024-12-03 18:58:07 +01:00
Matthias Hochsteger
e2a20a44bc
Put IsSafe to ngcore namespace, separate functions for range check macros for readability
2024-11-20 20:53:35 +01:00
Joachim Schoeberl
53b08efc6a
remove commented code
2024-07-20 10:38:01 +02:00
Joachim Schoeberl
487942bc22
ThrowRangeException with [[noreturn]]
2024-07-19 22:30:34 +02:00
Joachim Schoeberl
3c9f98b38d
save index bypasses range-check
2024-07-19 12:33:56 +02:00
Joachim Schoeberl
ba472f7a11
Exception::Throw
2024-07-17 17:58:38 +02:00
Joachim Schoeberl
357ff7badf
exception with stringview
2024-07-17 12:01:59 +02:00
Joachim Schoeberl
63986a4e5f
throw range exception via function call -> reduces code size
2024-07-16 10:18:16 +02:00
Joachim Schoeberl
d7ffc68a30
add GetBackTrace to checksame
2024-01-19 08:07:57 +01:00
Joachim Schoeberl
cb7759cd0b
line number in NETGEN_CHECK_SAME macro
2024-01-16 12:43:23 +01:00
Joachim Schoeberl
8362349bb8
fix metis warnings
2024-01-06 18:19:11 +01:00
Joachim Schoeberl
955540b90e
NETGEN_CHECK_SAME macro
2023-08-21 06:13:13 +02:00
Joachim Schoeberl
0cb91aedb4
all args for Exception are integer
2023-08-14 12:25:56 +02:00
Joachim Schoeberl
bf71375952
explicit conversion to int() in RangeException macro
2023-08-14 11:37:17 +02:00
Joachim Schoeberl
f0a73a3a4c
NETGEN_NOEXCEPT
2023-08-04 09:22:34 +02:00
Hochsteger, Matthias
52763603d3
Some cuda fixes
2023-02-16 12:55:12 +01:00
Joachim Schoeberl
6a8050998b
shape comparison macro
2022-05-01 11:56:22 +02:00
Joachim Schöberl
4658e34f05
Revert "api"
...
This reverts commit 3207ab1d99
2019-11-29 15:26:20 +00:00
Joachim Schöberl
3207ab1d99
api
2019-11-29 15:02:37 +01:00
Joachim Schöberl
648794b0bb
Exception ctor in cpp to reduce codesize
2019-11-25 07:46:35 +01:00
Matthias Hochsteger
b7c8f76765
Print stack trace on RangeException
2019-10-01 15:30:33 +02:00
Christopher Lackner
9f32a5c3ad
fix range check, add some tests
2019-08-05 12:48:08 +02:00
Christopher Lackner
5602322e94
add RangeException, NETGEN_CHECK_RANGE macro
2019-01-02 16:30:55 +01:00
Christopher Lackner
c000160f92
exceptions in ngcore
2018-12-28 15:54:04 +01:00