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

Function megcoreActivate

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

Source from the content-addressed store, hash-verified

50}
51
52megcoreStatus_t megcoreActivate(megcoreDeviceHandle_t handle) {
53 megdnn_assert(handle);
54 handle->content->activate();
55 return megcoreSuccess;
56}
57
58megcoreStatus_t megcoreDeactivate(megcoreDeviceHandle_t handle) {
59 megdnn_assert(handle);

Callers 6

SetUpMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 1

activateMethod · 0.45

Tested by 6

SetUpMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68