-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various tests and fixes of bugs exposed by them
Also fixed a high number of copy-paste bugs, so that the test passes. Added a new component to the PR, to support N=0 element access to match a different current PR. I started this, before realising it will need some thought/rearchitecture to support. Added HostAPI getVertex/EdgeCount(), and tested all current HostAPI functionality. Expand tests to cover DeviceAPI. Added support for not specifying length for host element methods. Not sure I like this approach, it involved alot more internal changes than desired. I was trying to avoid doing a double lookup, or returning a pair. Enable (and fix) all the tests that were disabled due to not supporting no length passed to host element methods. BugFix: DeviceCurve error string was not being passed right args. Fixed how submodels bind curve for directed graphs. This took a couple of attempts, I'm still not sure that it will support partial inheritance of a graph, that requires testing. Initial (FULL MAPPING) submodel tests. Still need to check how partial mapping would be handled, not sure we support that Python Tests (and many bug fixes) The Python HostException test is causing a hard to track down windows access violation. Comitting so I can see if it segfaults on Linux. Partial fix for that Python Access Violation With GFlags, managed to find that the access violation was being triggered when Python is shutting down and the EnvironmentDirectedGraph::Host object is being destroyed late (because an exception was thrown and handled?). So I switched a reference to a weak pointer, this solved 1 access violation but there's another in space between python and pyflamegpu with no debug symbols. Parallel CSR construction. Requires some thorough testing, I have manually tested that PBM construction operates as expected, however would be best to write a full test that checks edges are sorted correctly too Rqures writing some edge traversal stuff too Expect by sorting edges tests may now be broken Fix docs CI Can now iterate edges leaving a vertex. Need to update/fix earlier tests now edges are being sorted. Also need to update host copy of edges post-sort too Syntax err, oddly only noticed by docs ci This should fix the issue if host/device buffers not being sync'd More tests now failing, due to the edge sort. Next job is to fix those.
- Loading branch information
Showing
28 changed files
with
2,646 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
include/flamegpu/runtime/environment/EnvironmentDirectedGraph.cuh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.