Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made idf demo compatible with LazyBufferCommunication mode

  • Loading branch information...
commit 47744d5da1817c665e743fcc54713c2addd050f0 1 parent 296613e
Stephan Herhut sherhut authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  examples/idf-demo/Render.js
2  examples/idf-demo/Render.js
View
@@ -361,6 +361,8 @@ function render() {
if (implementation == "parallel") {
+ // we have to make sure the PA's buffer is actually available in case LazyBufferCommunication is enabled
+ NBody.private.pos.materialize();
for (i = 0; i < numBodies ; i++) {
if (i < Math.round(numBodies / 2)){
Please sign in to comment.
Something went wrong with that request. Please try again.