MCPcopy Create free account
hub / github.com/RenderKit/ospray / sync

Method sync

modules/mpi/ospray/fb/DistributedFrameBuffer.cpp:40–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38{}
39
40void DistributedTileError::sync()
41{
42 if (!taskErrorBuffer || taskErrorBuffer->size() == 0) {
43 return;
44 }
45
46 // TODO: USM thrashing possible issue
47 mpicommon::bcast(taskErrorBuffer->data(),
48 taskErrorBuffer->size(),
49 MPI_FLOAT,
50 0,
51 group.comm)
52 .wait();
53}
54
55// DistributedFrameBuffer definitions ///////////////////////////////////////
56

Callers 2

startNewFrameMethod · 0.80
processMethod · 0.80

Calls 3

sizeMethod · 0.45
waitMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected