29 if(indices.empty())
return true;
31 auto maxInd = indices.max();
33 if(this->empty() || maxInd > size()-1 )
38 auto ind = indices.hostView();
39 auto s = indices.size();
43 container_[ind[i]] = val;
51 const std::vector<word>& vals
54 if(indices.empty())
return true;
55 if(indices.size() != vals.size())
return false;
57 auto maxInd = indices.max();
59 if(this->empty() || maxInd > size()-1 )
64 auto ind = indices.hostView();
65 auto s = indices.size();
69 container_[ind[i]] = vals[i];
77 const ViewType1D<word, memory_space> vals
80 if(indices.empty())
return true;
81 if(indices.size() != vals.size())
return false;
83 auto maxInd = indices.max();
85 if(this->empty() || maxInd > size()-1 )
90 auto ind = indices.hostView();
91 auto s = indices.size();
95 container_[ind[i]] = vals[i];