Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp427 auto nnapi_result = NnApiImplementation()->ANeuralNetworks_getDeviceCount(&device_count); in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames() local
428 if (nnapi_result != 0) { in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames()
439 nnapi_result = NnApiImplementation()->ANeuralNetworks_getDevice(i, &device); in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames()
440 if (nnapi_result != 0) { in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames()
444 nnapi_result = NnApiImplementation()->ANeuralNetworksDevice_getName(device, &buffer); in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames()
445 if (nnapi_result != 0) { in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames()