MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / operator[]

Method operator[]

src/runtime/CL/tuners/CLTuningParametersList.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157CLTuningParams CLTuningParametersListExhaustive::operator[](size_t index)
158{
159 ARM_COMPUTE_ERROR_ON(index >= size());
160 auto coords = index2coords(search_space_shape, index);
161 return CLTuningParams(coords[0] + 1U, coords[1] + 1U, coords[2] + 1U, static_cast<int>(coords[3]));
162}
163
164CLTuningParametersListExhaustive::CLTuningParametersListExhaustive(const cl::NDRange &gws, CLTuningInfo tuning_info)
165{

Callers

nothing calls this directly

Calls 1

CLTuningParamsClass · 0.85

Tested by

no test coverage detected