| 160 | |
| 161 | template <typename OSPRAY_TYPE, typename API_TYPE> |
| 162 | inline 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 |
nothing calls this directly
no test coverage detected