Permalink
Browse files

made idf demo compatible with LazyBufferCommunication mode

  • Loading branch information...
1 parent 296613e commit 47744d5da1817c665e743fcc54713c2addd050f0 @sherhut sherhut committed Jul 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 examples/idf-demo/Render.js
@@ -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)){

0 comments on commit 47744d5

Please sign in to comment.