Home
last modified time | relevance | path

Searched refs:offsetForMatrix2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestMemory.cpp46 const uint32_t offsetForMatrix2 = 20; in TEST_F() local
48 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); in TEST_F()
49 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F()
69 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()
94 const uint32_t offsetForMatrix2 = 20; in TEST_F() local
109 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F()
127 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()
DTestMemoryInternal.cpp103 constexpr uint32_t offsetForMatrix2 = 20; in TEST_F() local
104 constexpr uint32_t offsetForMatrix3 = offsetForMatrix2 + sizeof(matrix2) + 30; in TEST_F()
112 memcpy(weightsData + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F()
128 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()