Searched refs:offsetForMatrix2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 47 const uint32_t offsetForMatrix2 = 20; in TEST_F() local 49 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); in TEST_F() 50 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F() 70 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F() 95 const uint32_t offsetForMatrix2 = 20; in TEST_F() local 110 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F() 128 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()
|
D | TestMemoryInternal.cpp | 103 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()
|