Searched refs:nnApiDeviceName (Results 1 – 6 of 6) sorted by relevance
/test/mlts/benchmark/native/ |
D | multi_process_test.cpp | 109 int durationSeconds, const std::string& nnApiDeviceName, in runModel() argument 119 nnApiDeviceName.empty() ? nullptr : nnApiDeviceName.c_str(), mmapModel, in runModel() 141 nnApiDeviceName.empty() ? nullptr : nnApiDeviceName.c_str(), mmapModel, in runModel() 184 std::string nnApiDeviceName{ in main() local 236 nnApiDeviceName.empty() ? "no-device" : nnApiDeviceName.c_str(), in main() 267 nnApiDeviceName.empty() ? "no-device" : nnApiDeviceName.c_str(), in main() 290 runModel(modelFileName, inputData, durationSeconds, nnApiDeviceName, in main()
|
/test/mlts/benchmark/jni/ |
D | random_graph_test_jni.cpp | 522 const char* nnApiDeviceName = in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() local 526 std::string nnApiDeviceNameStr{nnApiDeviceName ? nnApiDeviceName : ""}; in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 528 if (nnApiDeviceName) { in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 529 device = findDeviceByName(nnApiDeviceName); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 531 LOG(ERROR) << ": Unable to find accelerator " << nnApiDeviceName; in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 532 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 535 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()
|
D | benchmark_jni.cpp | 37 const char *nnApiDeviceName = in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() local 40 if (nnApiDeviceName != NULL) { in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() 41 std::string device_name(nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() 55 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() 74 const char *nnApiDeviceName = in Java_com_android_nn_benchmark_core_NNTestBase_initModel() local 85 nnApiDeviceName, _mmapModel, nnApiCacheDir); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 88 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInMultipleProcesses.java | 68 String nnApiDeviceName, boolean justCompileModel, int clientFailureRatePercent) { in intentInitializer() argument 75 intent.putExtra(NNAPI_DEVICE_NAME, nnApiDeviceName); in intentInitializer()
|
D | RandomGraphTest.java | 155 public static native long createRandomGraphGenerator(String nnApiDeviceName, int numOperations, in createRandomGraphGenerator() argument
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | NNTestBase.java | 56 public static native boolean hasNnApiDevice(String nnApiDeviceName); in hasNnApiDevice() argument 62 String nnApiDeviceName, in initModel() argument
|