Home
last modified time | relevance | path

Searched refs:MAKE_ERR (Results 1 – 25 of 37) sorted by relevance

12

/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tests/unittests/
H A DErrorTest.cpp24 auto err = MAKE_ERR("some error"); in TEST()
41 auto err = MAKE_ERR(msg); in TEST()
118 auto err = MAKE_ERR(msg); in TEST()
139 auto f = [&]() { err = MAKE_ERR("something"); }; in TEST()
162 auto err = MAKE_ERR(msg); in TEST()
174 Expected<int> intOrErr = MAKE_ERR(msg); in TEST()
186 auto err = MAKE_ERR(msg); in TEST()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/Habana/ONNX/
H A DHabanaONNXModelWriter.cpp19 return MAKE_ERR("Unsupported Op for ONNX"); in writeHabanaFullyConnected()
23 return MAKE_ERR("Unsupported Op for ONNX"); in writeHabanaConvolution()
27 return MAKE_ERR("Unsupported Op for ONNX"); in writeHabanaConvolutionAdd()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/Interpreter/
H A DInterpreterDeviceManager.cpp80 MAKE_ERR( in addNetworkImpl()
89 readyCB(module, MAKE_ERR(llvm::formatv("Failed to add network: function " in addNetworkImpl()
111 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_OUT_OF_DEVICE_MEMORY, in addNetworkImpl()
137 resultCB(MAKE_ERR( in transferStaticPlaceholderToDevice()
161 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in evictNetworkImpl()
185 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in runFunctionImpl()
/dports/net/yate/yate-6.4.0-1/modules/
H A Dopenssl.cpp55 MAKE_ERR(UNABLE_TO_GET_ISSUER_CERT),
58 MAKE_ERR(CERT_SIGNATURE_FAILURE),
59 MAKE_ERR(CERT_NOT_YET_VALID),
60 MAKE_ERR(CERT_HAS_EXPIRED),
63 MAKE_ERR(SELF_SIGNED_CERT_IN_CHAIN),
66 MAKE_ERR(INVALID_CA),
67 MAKE_ERR(PATH_LENGTH_EXCEEDED),
68 MAKE_ERR(INVALID_PURPOSE),
69 MAKE_ERR(CERT_UNTRUSTED),
70 MAKE_ERR(CERT_REJECTED),
[all …]
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/torch_glow/src/
H A DShapeInferenceEngine.cpp95 return MAKE_ERR( in shapeOnNode()
174 return MAKE_ERR("Input type doesn't support yet."); in getGraphIntputShape()
231 return MAKE_ERR("Expected two or three inputs shapes of this operation."); in binaryOp()
256 return MAKE_ERR( in binaryOp()
282 return MAKE_ERR("Expected 2-dimensional tensor."); in mm()
286 return MAKE_ERR( in mm()
304 return MAKE_ERR("Expected two inputs shapes of this operation."); in bmm()
311 return MAKE_ERR("Expected 3-dimensional tensor."); in bmm()
315 return MAKE_ERR("Expected tensors to have same size at dimension 0"); in bmm()
319 return MAKE_ERR(strFormat("The size of tensor a (%zu) at dimension 2 must" in bmm()
H A DCachingGraphRunner.cpp140 return MAKE_ERR( in loadImpl()
325 return MAKE_ERR(ss.str()); in runImpl()
360 return MAKE_ERR(ss.str()); in runImpl()
380 return MAKE_ERR( in runImpl()
456 return MAKE_ERR("Fail to infer shape for outputs"); in runImpl()
475 return MAKE_ERR( in runImpl()
589 return MAKE_ERR(strFormat("No compiled graph found for hash: %lu", hash)); in runOnly()
615 return MAKE_ERR("Host manager is null!"); in warmCache()
619 return MAKE_ERR("No graph found!"); in warmCache()
633 return MAKE_ERR( in warmCache()
[all …]
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/CPU/
H A DCPUDeviceManager.cpp77 MAKE_ERR( in addNetworkImpl()
88 MAKE_ERR( in addNetworkImpl()
102 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_OUT_OF_DEVICE_MEMORY, in addNetworkImpl()
135 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in evictNetworkImpl()
161 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in runFunctionImpl()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/OpenCL/
H A DOpenCLDeviceManager.cpp68 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in parseInputAsUnsigned()
176 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in parseConfig()
349 MAKE_ERR( in addNetworkImpl()
386 MAKE_ERR( in addNetworkImpl()
414 readyCB(module, MAKE_ERR("Unable to copy data to the device")); in addNetworkImpl()
475 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in evictNetworkImpl()
500 resultCB(MAKE_ERR( in transferStaticPlaceholderToDevice()
512 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in transferStaticPlaceholderToDevice()
532 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in transferStaticPlaceholderToDevice()
547 resultCB(MAKE_ERR( in transferStaticPlaceholderToDevice()
[all …]
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/NNPI/
H A DNNPIDeviceManager.cpp167 MAKE_ERR( in addNetwork()
177 readyCB(module, MAKE_ERR(llvm::formatv("Failed to add network: function " in addNetwork()
188 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_OUT_OF_DEVICE_MEMORY, in addNetwork()
227 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in evictNetwork()
262 resultCB(runId, MAKE_ERR("Function isn't ready on the device"), in runFunction()
328 return MAKE_ERR("Failed to start NNPI device trace."); in startDeviceTrace()
336 return MAKE_ERR("Failed to stop NNPI device trace."); in stopDeviceTrace()
H A DDebugMacros.h219 callback(runId, MAKE_ERR(msg), std::move(ctx)); \
229 callback(MAKE_ERR(msg)); \
240 callback(runId, MAKE_ERR(msg), std::move(ctx)); \
250 callback(runId, MAKE_ERR(msg), std::move(ctx)); \
260 callback(MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, msg)); \
H A DInferencePool.cpp88 return MAKE_ERR("InferencePool already initialized!"); in init()
103 return MAKE_ERR("InferencePool failed to create inference contexts"); in init()
258 return MAKE_ERR("Failed to initialize inferece context"); in init()
H A DNNPICompiledFunction.h76 return MAKE_ERR( in execute()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/NNPI/ONNX/
H A DNNPIONNXModelWriter.cpp19 return MAKE_ERR("Unsupported Op for ONNX"); in writeNNPICustomDSP()
24 return MAKE_ERR("Unsupported Op for ONNX"); in writeNNPICustomIA()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/Habana/
H A DHabanaDeviceManager.cpp153 MAKE_ERR(strFormat( in addNetwork()
194 readyCB(module, MAKE_ERR(strFormat( in addNetwork()
231 MAKE_ERR(strFormat( in evictNetwork()
262 MAKE_ERR(strFormat( in evictNetwork()
304 MAKE_ERR(strFormat( in runFunctionImpl()
388 MAKE_ERR(strFormat("Failed to execute function %s", in runFunctionImpl()
H A DHabanaUtils.h30 : MAKE_ERR( \
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Backends/
H A DDeviceManager.h169 resultCB(MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in transferStaticPlaceholderToDevice()
212 resultCB(MAKE_ERR(ErrorValue::ErrorCode::DEVICE_FEATURE_NOT_SUPPORTED,
223 resultCB(MAKE_ERR(ErrorValue::ErrorCode::DEVICE_FEATURE_NOT_SUPPORTED,
H A DDummyDeviceManager.h58 MAKE_ERR( in addNetwork()
96 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in runFunction()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Runtime/Provisioner/
H A DProvisioner.cpp87 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_BUSY, in checkActiveNetworks()
163 return MAKE_ERR( in generateDeviceAssignments()
213 return MAKE_ERR( in generateDeviceAssignments()
350 return MAKE_ERR( in provision()
400 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_DEVICE_NOT_FOUND, in provision()
574 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in provision()
631 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in provision()
668 return MAKE_ERR( in removeFunction()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Runtime/HostManager/
H A DHostManager.cpp125 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, "Network not found."); in getNetworkDAG()
267 return MAKE_ERR( in addNetwork()
359 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in addNetwork()
487 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_ERROR, in addNetwork()
548 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_BUSY, in removeNetwork()
557 return MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_BUSY, in removeNetwork()
740 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_NET_NOT_FOUND, in runNetwork()
755 MAKE_ERR( in runNetwork()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Partitioner/
H A DPartitioner.cpp99 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in finalize()
293 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in backendBasedPartition()
613 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in loadBalancedPartition()
650 return MAKE_ERR( in quantizationProfilingPartition()
719 return MAKE_ERR( in heterogeneousPartition()
729 return MAKE_ERR( in heterogeneousPartition()
810 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in partitionFromConfig()
1202 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in partitionSparseNN()
1208 return MAKE_ERR( in partitionSparseNN()
1323 return MAKE_ERR(ErrorValue::ErrorCode::PARTITIONER_ERROR, in partitionSparseNN()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Runtime/Executor/
H A DThreadPoolExecutor.cpp98 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_REQUEST_REFUSED, in run()
182 MAKE_ERR(ErrorValue::ErrorCode::RUNTIME_DEVICE_NOT_FOUND, in executeDAGNode()
/dports/graphics/libfpx/libfpx-1.3.1-10/oless/
H A Dstorage.cxx25 #define MAKE_ERR(c) MAKE_SCODE(SEVERITY_ERROR, FACILITY_STORAGE, c) macro
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/LLVMIRCodeGen/
H A DLLVMCompiledFunction.cpp114 address = MAKE_ERR( in execute()
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Support/
H A DError.h59 #define MAKE_ERR(...) glow::detail::makeError(__FILE__, __LINE__, __VA_ARGS__) macro
64 return MAKE_ERR(__VA_ARGS__); \
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Backend/
H A DBackend.h216 return MAKE_ERR("Backend does not support estimateNodeCost"); in estimateNodeCost()

12