Searched refs:getIBuffer (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemoryDomain.cpp | 293 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/ |
D | Memory.cpp | 295 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()
|
D | ExecutionBuilder.cpp | 1175 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()
|
D | Memory.h | 178 const sp<hal::IBuffer>& getIBuffer() const { return kBuffer; } in getIBuffer() function
|