MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / megcoreDeactivate

Function megcoreDeactivate

dnn/src/common/megcore/public_api/device.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58megcoreStatus_t megcoreDeactivate(megcoreDeviceHandle_t handle) {
59 megdnn_assert(handle);
60 handle->content->deactivate();
61 return megcoreSuccess;
62}
63
64megcoreStatus_t megcoreMalloc(
65 megcoreDeviceHandle_t handle, void** devPtr, size_t sizeInBytes) {

Callers 1

TearDownMethod · 0.85

Calls 1

deactivateMethod · 0.45

Tested by 1

TearDownMethod · 0.68