MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / validate_internal_queue

Function validate_internal_queue

src/common/IQueue.h:89–97  ·  view source on GitHub ↗

Check if an internal queue is valid * * @param[in] queue Internal queue to check * * @return A status code */

Source from the content-addressed store, hash-verified

87 * @return A status code
88 */
89inline StatusCode validate_internal_queue(const IQueue *queue)
90{
91 if (queue == nullptr || !queue->is_valid())
92 {
93 ARM_COMPUTE_LOG_ERROR_ACL("[IQueue]: Invalid queue object");
94 return StatusCode::InvalidArgument;
95 }
96 return StatusCode::Success;
97}
98} // namespace detail
99} // namespace arm_compute
100#endif /* SRC_COMMON_IQUEUE_H_ */

Callers 5

AclRunOperatorFunction · 0.85
AclQueueFinishFunction · 0.85
AclDestroyQueueFunction · 0.85
AclGetClQueueFunction · 0.85
AclSetClQueueFunction · 0.85

Calls 1

is_validMethod · 0.45

Tested by

no test coverage detected