Searched refs:misalignedMemPtr (Results 1 – 1 of 1) sorted by relevance
/external/armnn/src/backends/backendsCommon/test/ |
D | EndToEndTestImpl.hpp | 976 float* misalignedMemPtr = reinterpret_cast<float*>(reinterpret_cast<char*>(memPtr) + 1); in ForceImportWithMisalignedInputBuffersEndToEndTest() local 980 CHECK (reinterpret_cast<uintptr_t>(misalignedMemPtr) % alignment); in ForceImportWithMisalignedInputBuffersEndToEndTest() 987 std::memcpy(misalignedMemPtr, inputData.data(), 4*sizeof(float)); in ForceImportWithMisalignedInputBuffersEndToEndTest() 1001 {0,armnn::ConstTensor(runtime->GetInputTensorInfo(netId, 0), misalignedMemPtr)}, in ForceImportWithMisalignedInputBuffersEndToEndTest() 1099 float* misalignedMemPtr = reinterpret_cast<float*>(reinterpret_cast<char*>(memPtr) + 1); in ForceImportWithMisalignedOutputBuffersEndToEndTest() local 1103 CHECK (reinterpret_cast<uintptr_t>(misalignedMemPtr) % alignment); in ForceImportWithMisalignedOutputBuffersEndToEndTest() 1125 {0,armnn::Tensor(runtime->GetOutputTensorInfo(netId, 0), misalignedMemPtr)} in ForceImportWithMisalignedOutputBuffersEndToEndTest() 1169 std::memcpy(outputData.data(), misalignedMemPtr, expectedOutput.size() * sizeof(float)); in ForceImportWithMisalignedOutputBuffersEndToEndTest()
|