MCPcopy Create free account
hub / github.com/ai-dynamo/nixl / createAccelEngine

Function createAccelEngine

src/plugins/obj/obj_backend.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template<typename... Args>
42std::unique_ptr<nixlObjEngineImpl>
43createAccelEngine(const nixl_b_params_t *custom_params, Args &&...args) {
44 try {
45 return objAccelEngineRegistry::instance().create(getAccelType(custom_params),
46 std::forward<Args>(args)...);
47 }
48 catch (const std::exception &e) {
49 NIXL_ERROR << "Failed to create accelerated engine: " << e.what();
50 throw;
51 }
52}
53
54} // namespace
55

Callers 1

createObjEngineImplFunction · 0.85

Calls 2

getAccelTypeFunction · 0.85
createMethod · 0.45

Tested by

no test coverage detected