Home
last modified time | relevance | path

Searched refs:MemoryFromDevice (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/runtime/
DMemory.h358 class MemoryFromDevice : public Memory {
365 static std::pair<int, std::unique_ptr<MemoryFromDevice>> create(sp<hal::IBuffer> buffer,
369 MemoryFromDevice(sp<hal::IBuffer> buffer, uint32_t token);
DMemory.cpp655 std::pair<int, std::unique_ptr<MemoryFromDevice>> MemoryFromDevice::create(sp<hal::IBuffer> buffer, in create()
665 return {ANEURALNETWORKS_NO_ERROR, std::make_unique<MemoryFromDevice>(std::move(buffer), token)}; in create()
668 MemoryFromDevice::MemoryFromDevice(sp<hal::IBuffer> buffer, uint32_t token) in MemoryFromDevice() function in android::nn::MemoryFromDevice
DManager.cpp275 return MemoryFromDevice::create(std::move(buffer), token); in allocate()