Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp44 : kDevice(std::move(device)), in LimitedSupportDevice()
47 CHECK(kDevice != nullptr); in LimitedSupportDevice()
54 return kDevice->getName(); in getName()
58 return kDevice->getVersionString(); in getVersionString()
62 return kDevice->getFeatureLevel(); in getFeatureLevel()
66 return kDevice->getType(); in getType()
70 return kDevice->getSupportedExtensions(); in getSupportedExtensions()
78 return kDevice->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
82 return kDevice->wait(); in wait()
99 return kDevice->prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModel()
[all …]
DLimitedSupportDevice.h78 const nn::SharedDevice kDevice;
/packages/modules/NeuralNetworks/runtime/test/
DTestGpuNnapi.cpp952 auto nnapi = NnapiExecutor<dataType>::create(kDevice, mGpuOutput, mNnapiOutput); in runTest()
1001 const ANeuralNetworksDevice* kDevice = GetParam().second; member in android::nn::__anon868b46440111::GpuNnapiTest