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

Function createDistributedObject

modules/mpi/ospray/MPIDistributedDevice.cpp:162–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161template <typename OSPRAY_TYPE, typename API_TYPE>
162inline API_TYPE createDistributedObject(
163 const char *type, api::ISPCDevice &device, ObjectHandle handle)
164{
165 auto *instance = OSPRAY_TYPE::createInstance(type, device);
166 handle.assign(instance);
167 return (API_TYPE)(int64)handle;
168}
169
170// MPIDistributedDevice definitions ///////////////////////////////////////
171

Callers

nothing calls this directly

Calls 2

createInstanceFunction · 0.85
assignMethod · 0.80

Tested by

no test coverage detected