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

Function megcoreGetMemAlignment

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

Source from the content-addressed store, hash-verified

43}
44
45megcoreStatus_t megcoreGetMemAlignment(
46 megcoreDeviceHandle_t handle, size_t* memAlignmentInBytes) {
47 megdnn_assert(handle);
48 *memAlignmentInBytes = handle->content->mem_alignment_in_bytes();
49 return megcoreSuccess;
50}
51
52megcoreStatus_t megcoreActivate(megcoreDeviceHandle_t handle) {
53 megdnn_assert(handle);

Callers 3

TEST_FFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85

Calls 1

Tested by 3

TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68