Home
last modified time | relevance | path

Searched refs:attr_copy (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sched_getattr/
Dsched_getattr01.c42 struct sched_attr attr, attr_copy; in run_deadline() local
62 size = sizeof(attr_copy); in run_deadline()
63 ret = sched_getattr(0, &attr_copy, size, flags); in run_deadline()
69 if (attr_copy.sched_runtime != RUNTIME_VAL) { in run_deadline()
74 if (attr_copy.sched_period != PERIOD_VAL) { in run_deadline()
79 if (attr_copy.sched_deadline != DEADLINE_VAL) { in run_deadline()
Dsched_getattr02.c45 struct sched_attr attr_copy; variable
54 {&unused_pid, &attr_copy, sizeof(struct sched_attr), 0, ESRCH},
56 {&pid, &attr_copy, sizeof(struct sched_attr) - 1, 0, EINVAL},
57 {&pid, &attr_copy, sizeof(struct sched_attr), 1000, EINVAL}
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/default/
Dconvolution_selector.cc189 Convolution2DAttributes attr_copy = attr; in SelectConvolutionWithDynamicWeights() local
190 attr_copy.weights.shape = OHWI(weights_shape.b, weights_shape.h, in SelectConvolutionWithDynamicWeights()
193 CreateConvolutionMetal(op_def, dst_shape, attr_copy, gpu_info); in SelectConvolutionWithDynamicWeights()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer.cc704 AttrValue attr_copy(*attr); in UpdateNode() local
707 context->src_to_dst, attr_copy.mutable_list()->mutable_i())); in UpdateNode()
708 mutation->AddOrUpdateNodeAttr(node, attr_name, attr_copy); in UpdateNode()