Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DMemory.h345 class MemoryFromDevice : public RuntimeMemory {
352 static std::pair<int, std::unique_ptr<MemoryFromDevice>> create(SharedBuffer buffer);
355 explicit MemoryFromDevice(SharedBuffer buffer);
DMemory.cpp600 std::pair<int, std::unique_ptr<MemoryFromDevice>> MemoryFromDevice::create(SharedBuffer buffer) { in create()
605 return {ANEURALNETWORKS_NO_ERROR, std::make_unique<MemoryFromDevice>(std::move(buffer))}; in create()
608 MemoryFromDevice::MemoryFromDevice(SharedBuffer buffer) : RuntimeMemory(std::move(buffer)) {} in MemoryFromDevice() function in android::nn::MemoryFromDevice
DManager.cpp499 return MemoryFromDevice::create(std::move(result).value()); in allocate()