Lines Matching refs:parameter_blocks_
54 : parameter_blocks_(program.parameter_blocks_),
59 return parameter_blocks_;
67 return ¶meter_blocks_;
75 for (int i = 0; i < parameter_blocks_.size(); ++i) {
76 if (!parameter_blocks_[i]->IsConstant() &&
77 !parameter_blocks_[i]->SetState(state)) {
80 state += parameter_blocks_[i]->Size();
86 for (int i = 0; i < parameter_blocks_.size(); ++i) {
87 parameter_blocks_[i]->GetState(state);
88 state += parameter_blocks_[i]->Size();
93 for (int i = 0; i < parameter_blocks_.size(); ++i) {
94 parameter_blocks_[i]->GetState(parameter_blocks_[i]->mutable_user_state());
99 for (int i = 0; i < parameter_blocks_.size(); ++i) {
100 if (!parameter_blocks_[i]->IsConstant() &&
101 !parameter_blocks_[i]->SetState(parameter_blocks_[i]->user_state())) {
111 for (int i = 0; i < parameter_blocks_.size(); ++i) {
112 if (!parameter_blocks_[i]->Plus(state, delta, state_plus_delta)) {
115 state += parameter_blocks_[i]->Size();
116 delta += parameter_blocks_[i]->LocalSize();
117 state_plus_delta += parameter_blocks_[i]->Size();
134 for (int i = 0; i < parameter_blocks_.size(); ++i) {
135 parameter_blocks_[i]->set_index(i);
136 parameter_blocks_[i]->set_state_offset(state_offset);
137 parameter_blocks_[i]->set_delta_offset(delta_offset);
138 state_offset += parameter_blocks_[i]->Size();
139 delta_offset += parameter_blocks_[i]->LocalSize();
148 return parameter_blocks_.size();
161 for (int i = 0; i < parameter_blocks_.size(); ++i) {
162 num_parameters += parameter_blocks_[i]->Size();
169 for (int i = 0; i < parameter_blocks_.size(); ++i) {
170 num_parameters += parameter_blocks_[i]->LocalSize();
224 for (int i = 0; i < parameter_blocks_.size(); ++i) {
226 i, parameter_blocks_[i]->ToString().c_str());