Searched refs:kernel_state (Results 1 – 3 of 3) sorted by relevance
41 for (const KernelState& kernel_state : kernels_) { in ~SingleThreadedExecutorImpl() local42 params_.delete_kernel(kernel_state.kernel); in ~SingleThreadedExecutorImpl()44 for (const ConstTensorKernelState& kernel_state : const_tensor_kernels_) { in ~SingleThreadedExecutorImpl() local45 params_.delete_kernel(kernel_state.kernel); in ~SingleThreadedExecutorImpl()124 ConstTensorKernelState& kernel_state = in Initialize() local126 kernel_state.kernel = kernel; in Initialize()127 kernel_state.const_tensor = *const_tensor; in Initialize()132 KernelState& kernel_state = kernels_[kernel_index]; in Initialize() local133 kernel_state.kernel = kernel; in Initialize()134 kernel_state.num_inputs = n->num_inputs(); in Initialize()[all …]
4967 std::unique_ptr<NNAPIDelegateKernel> kernel_state( in GetNodesSupportedByAccelerator() local4972 kernel_state->Init(context, ¶ms_with_delegate, nnapi_errno)); in GetNodesSupportedByAccelerator()4975 kernel_state->GetOperationsSupportedByTargetNnApiDevices( in GetNodesSupportedByAccelerator()4985 kernel_state.release()); in GetNodesSupportedByAccelerator()5137 NNAPIDelegateKernel* kernel_state = in DoPrepare() local5139 if (!kernel_state) { in DoPrepare()5140 kernel_state = new NNAPIDelegateKernel(delegate_data->nnapi); in DoPrepare()5141 kernel_state->Init(context, params, nnapi_errno); in DoPrepare()5144 return kernel_state; in DoPrepare()
1110 sctp_map_assoc_state(int kernel_state) in sctp_map_assoc_state() argument1114 if (kernel_state & SCTP_STATE_WAS_ABORTED) { in sctp_map_assoc_state()1116 } else if (kernel_state & SCTP_STATE_SHUTDOWN_PENDING) { in sctp_map_assoc_state()1119 switch (kernel_state & SCTP_STATE_MASK) { in sctp_map_assoc_state()