-
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.
HostAPI directed graph iteration and access via index.
This necessitated updating Edge/Vertex classes to internally track via index rather than ID. This removed redundant index lookups from every accessor, so will have negligbly improved performance. EdgeMap and VertexMap are now franken datastructures, which have attributes of both maps and arrays. This is great for usability, but has the potential to confuse users that don't read documentation. Tests extended in C & Python to cover this. Closes #1237
- Loading branch information
Showing
7 changed files
with
530 additions
and
64 deletions.
There are no files selected for viewing
191 changes: 154 additions & 37 deletions
191
include/flamegpu/runtime/environment/HostEnvironmentDirectedGraph.cuh
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.