MCPcopy Create free account
hub / github.com/ROCm/clr / Init

Method Init

rocclr/platform/commandqueue.hpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 void Init(HostQueue* queue) {
181 virtualDevice_ = queue->device().createVirtualDevice(queue);
182 if (virtualDevice_ != nullptr) {
183 acceptingCommands_ = true;
184 }
185 }
186
187 void Release() const { virtualDevice_->release(); }
188

Callers 1

HostQueueMethod · 0.45

Calls 2

deviceMethod · 0.80
createVirtualDeviceMethod · 0.45

Tested by

no test coverage detected