Home
last modified time | relevance | path

Searched refs:MemoryType (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.h112 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
126 MemoryType memoryType = MemoryType::ASHMEM);
DGeneratedTestHarness.cpp60 MemoryType memoryType;
65 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType) in TestConfig()
71 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
323 std::optional<Request> createRequest(const TestModel& testModel, MemoryType memoryType);
349 MemoryType memoryType) { in createRequest()
368 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
397 if (memoryType == MemoryType::DEVICE) { in createRequest()
429 if (memoryType == MemoryType::DEVICE && mBuffers.empty()) { in createRequest()
434 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
772 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
[all …]
DUtils.cpp180 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
181 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
222 if (memoryType == MemoryType::ASHMEM) { in createRequest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp83 MemoryType memoryType;
89 MemoryType memoryType) in TestConfig()
96 MemoryType memoryType, bool reportSkipping) in TestConfig()
342 std::optional<Request> createRequest(const TestModel& testModel, MemoryType memoryType);
361 MemoryType memoryType) { in createRequest()
380 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
406 if (memoryType == MemoryType::DEVICE) { in createRequest()
435 if (memoryType == MemoryType::DEVICE && mBuffers.empty()) { in createRequest()
441 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
793 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h79 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
93 MemoryType memoryType = MemoryType::ASHMEM);
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp102 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
103 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
144 if (memoryType == MemoryType::ASHMEM) { in createRequest()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp71 MemoryType memoryType;
342 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
348 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
353 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
359 for (const MemoryType memoryType : memoryTypeList) { in EvaluatePreparedModel()