Home
last modified time | relevance | path

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

/test/xts/acts/ai/neural_network_runtime/interface/src/
DDeviceTest.cpp108 size_t targetDevice = devicesID[0]; variable
110 OH_NN_ReturnCode ret = OH_NNDevice_GetName(targetDevice, nullptr);
124 size_t targetDevice = devicesID[0]; variable
128 OH_NN_ReturnCode ret = OH_NNDevice_GetName(targetDevice, &name);
142 size_t targetDevice = devicesID[0]; variable
147 OH_NN_ReturnCode ret = OH_NNDevice_GetName(targetDevice, &name);
163 size_t targetDevice = devicesID[0]; variable
165 OH_NN_ReturnCode ret = OH_NNDevice_GetType(targetDevice, nullptr);
193 size_t targetDevice = devicesID[0]; variable
197 OH_NN_ReturnCode ret = OH_NNDevice_GetType(targetDevice, &type);
DModelTest.cpp793 size_t targetDevice = devicesID[0]; variable
794 …OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(nullptr, targetDevice, &isSupported, &opC…
809 size_t targetDevice{100000}; variable
812 …ASSERT_EQ(OH_NN_FAILED, OH_NNModel_GetAvailableOperations(model, targetDevice, &isSupported, &opCo…
832 size_t targetDevice = devicesID[0]; variable
834 …ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_GetAvailableOperations(model, targetDevice, nullptr,…
856 size_t targetDevice = devicesID[0]; variable
857 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_GetAvailableOperations(model, targetDevice,
877 size_t targetDevice = devicesID[0]; variable
878 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_GetAvailableOperations(model, targetDevice,
[all …]
DCompileTest.cpp131 size_t targetDevice = devicesID[0]; variable
133 …OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, targetDevice, &realSupported, &opC…
140 ASSERT_EQ(OH_NN_FAILED, OH_NNCompilation_SetDevice(compilation, targetDevice));
156 size_t targetDevice = devicesID[0]; // Use the first device in system test. variable
157 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNCompilation_SetDevice(nullptr, targetDevice));
DExecutorTest.cpp73 size_t targetDevice = devicesID[0]; variable
75 ASSERT_EQ(OH_NN_SUCCESS, OH_NNCompilation_SetDevice(compilation, targetDevice));
/test/xts/acts/ai/neural_network_runtime/common/
Dnnrt_utils.cpp144 size_t targetDevice = devicesID[0]; // Use the first device in system test. in SetDevice() local
145 ret = OH_NNCompilation_SetDevice(compilation, targetDevice); in SetDevice()