MCPcopy Create free account
hub / github.com/OAID/Tengine / InitializeDevice

Method InitializeDevice

tengine-module/plugin/driver/acl_opencl/acl_graph_driver.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool ACLGraph::InitializeDevice(Device* device)
47{
48 ACLDevice* acl_dev = dynamic_cast<ACLDevice*>(device);
49
50 acl_dev->Launch();
51 acl_dev->BindDriver(this);
52 acl_dev->dev_status = kDevStopped;
53
54 return true;
55}
56
57bool ACLGraph::ReleaseDevice(Device* device)
58{

Callers

nothing calls this directly

Calls 2

LaunchMethod · 0.80
BindDriverMethod · 0.80

Tested by

no test coverage detected