Searched refs:weightsSize (Results 1 – 1 of 1) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestMemoryInternal.cpp | 104 constexpr uint32_t weightsSize = offsetForMatrix3 + sizeof(matrix3) + 60; in TEST_F() local 106 int weightsFd = ASharedMemory_create("weights", weightsSize); in TEST_F() 109 (uint8_t*)mmap(nullptr, weightsSize, PROT_READ | PROT_WRITE, MAP_SHARED, weightsFd, 0); in TEST_F() 113 WrapperMemory weights(weightsSize, PROT_READ | PROT_WRITE, weightsFd, 0); in TEST_F() 172 munmap(weightsData, weightsSize); in TEST_F()
|