Home
last modified time | relevance | path

Searched refs:getIBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestMemoryDomain.cpp293 EXPECT_NE(m->getIBuffer(), nullptr); in TEST_P()
303 EXPECT_EQ(m->getIBuffer(), nullptr); in TEST_P()
331 EXPECT_NE(m->getIBuffer(), nullptr); in TEST_P()
341 EXPECT_EQ(m->getIBuffer(), nullptr); in TEST_P()
365 EXPECT_EQ(m->getIBuffer(), nullptr); in TEST_P()
388 EXPECT_EQ(m->getIBuffer(), nullptr); in TEST_P()
414 EXPECT_NE(m->getIBuffer(), nullptr); in TEST_P()
/frameworks/ml/nn/runtime/
DMemory.cpp295 bool srcHasIBuffer = src.getIBuffer() != nullptr; in copyInternal()
296 bool dstHasIBuffer = dst.getIBuffer() != nullptr; in copyInternal()
298 return copyIBuffers(src.getIBuffer(), dst.getIBuffer(), srcMetadata); in copyInternal()
302 return copyHidlMemoryToIBuffer(src.getHidlMemory(), dst.getIBuffer(), in copyInternal()
305 return copyIBufferToHidlMemory(src.getIBuffer(), dst.getHidlMemory()); in copyInternal()
DExecutionBuilder.cpp1175 if (memory->getIBuffer() != nullptr) { in computeOnCpuFallback()
1182 n = copyIBufferToHidlMemory(memory->getIBuffer(), blobAhwb->getHidlMemory()); in computeOnCpuFallback()
1200 if (memory->getIBuffer() != nullptr && isUsedAsOutput[i]) { in computeOnCpuFallback()
1201 n = copyHidlMemoryToIBuffer(memories[i]->getHidlMemory(), memory->getIBuffer(), {}); in computeOnCpuFallback()
DMemory.h178 const sp<hal::IBuffer>& getIBuffer() const { return kBuffer; } in getIBuffer() function