Searched refs:NN_ERROR (Results 1 – 18 of 18) sorted by relevance
72 return NN_ERROR() << "Failed to create native_handle"; in hidlHandleFromUniqueFd()94 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocateSharedMemory()98 return NN_ERROR() << "IAllocator::allocate returned an invalid memory object with " in allocateSharedMemory()102 return NN_ERROR() << "IAllocator::allocate returned an invalid memory object with " in allocateSharedMemory()122 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to map memory"; in map()127 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped pointer"; in map()132 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped size"; in map()152 return NN_ERROR() << "ASharedMemory_create failed"; in allocateSharedMemory()164 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Cannot map ashmem memory"; in map()196 return NN_ERROR() << "Can't mmap the file descriptor."; in map()[all …]
83 return NN_ERROR() << "Failed to create OperandPerformanceTable: Input must be sorted by " in create()127 return NN_ERROR() << "Invalid sync fence handle passed to SyncFence::create"; in create()
173 return NN_ERROR() in countNumberOfConsumers()189 return NN_ERROR() << os.str(); in combineDimensions()198 return NN_ERROR() << os.str(); in combineDimensions()
58 return NN_ERROR() << "NN_VALIDATE failed (" << __FILE__ << ":" << __LINE__ << "): "
143 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in getSupportedOperations()169 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Invalid Model: " << result.error(); in prepareModel()172 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) in prepareModel()176 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Invalid Priority: " << result.error(); in prepareModel()181 return NN_ERROR(ErrorStatus::MISSED_DEADLINE_PERSISTENT); in prepareModel()186 return NN_ERROR() << "setRunTimePoolInfosFromCanonicalMemories failed"; in prepareModel()199 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in prepareModelFromCache()223 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) in allocate()228 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()237 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()[all …]
50 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in createRunTimePoolInfos()58 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT); in createRunTimePoolInfos()63 return NN_ERROR(validationStatus); in createRunTimePoolInfos()146 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in execute()149 return NN_ERROR(ErrorStatus::MISSED_DEADLINE_PERSISTENT); in execute()178 return NN_ERROR(updateStatus); in execute()181 return NN_ERROR(executionStatus, outputShapes); in execute()206 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in executeFenced()209 return NN_ERROR(ErrorStatus::MISSED_DEADLINE_PERSISTENT); in executeFenced()215 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT); in executeFenced()[all …]
44 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyFromInternal()50 return NN_ERROR(validationStatus); in copyFromInternal()73 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyTo()79 return NN_ERROR(validationStatus); in copyTo()
97 return NN_ERROR(nn::ErrorStatus::INVALID_ARGUMENT) << "Not all operations are supported"; in prepareModel()
270 return NN_ERROR() << "getSlice(" << featureLevel << ") failed"; in getSupportedOperationsImpl()277 return NN_ERROR() << "IDevice::getSupportedOperations returned a vector of length " in getSupportedOperationsImpl()350 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in createCacheHandle()384 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in getCacheHandles()389 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in getCacheHandles()
93 #define NN_ERROR(...) \ macro
86 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()
119 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()
137 return NN_ERROR() << "Unsupported input operand type for UNIDIRECTIONAL_SEQUENCE_RNN op: " in validate()
218 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()
253 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()
328 return NN_ERROR() << "Unsupported input operand type for UNIDIRECTIONAL_SEQUENCE_RNN op: " in validate()
375 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()
219 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()222 return NN_ERROR() << "Unsupported input tensor type for operation " << kOperationName; in validate()