Searched refs:offsetForMatrix3 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemory.cpp | 53 const uint32_t offsetForMatrix3 = 200; in TEST_F() local 54 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); in TEST_F() 57 lseek(fd, offsetForMatrix3, SEEK_SET); in TEST_F() 61 WrapperMemory weights(offsetForMatrix3 + sizeof(matrix3), PROT_READ, fd, 0); in TEST_F() 76 model.setOperandValueFromMemory(a, &weights, offsetForMatrix3, sizeof(Matrix3x4)); in TEST_F() 104 const uint32_t offsetForMatrix3 = 200; in TEST_F() local 107 .width = offsetForMatrix3 + sizeof(matrix3), in TEST_F() 121 memcpy((uint8_t*)bufferPtr + offsetForMatrix3, matrix3, sizeof(matrix3)); in TEST_F() 139 model.setOperandValueFromMemory(a, &weights, offsetForMatrix3, sizeof(Matrix3x4)); in TEST_F()
|
D | TestMemoryInternal.cpp | 104 constexpr uint32_t offsetForMatrix3 = offsetForMatrix2 + sizeof(matrix2) + 30; in TEST_F() local 105 constexpr uint32_t weightsSize = offsetForMatrix3 + sizeof(matrix3) + 60; in TEST_F() 119 memcpy(weightsData + offsetForMatrix3, matrix3, sizeof(matrix3)); in TEST_F() 135 model.setOperandValueFromMemory(a, &weights, offsetForMatrix3, sizeof(Matrix3x4)); in TEST_F()
|