MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / initParamData

Function initParamData

src/library/tools/tune/storage_data.c:160–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void
161initParamData (BlasParamInfo* bParam, int dim)
162{
163 memset(bParam->sDim, 0, sizeof(SubproblemDim) * MAX_SUBDIMS);
164 memset(&bParam->pGran, 0, sizeof(PGranularity) );
165 memset(bParam->kernel, 0, sizeof(OFFSET) * MAX_CLBLAS_KERNELS_PER_STEP);
166 memset(bParam->kSize, 0, sizeof(size_t)* MAX_CLBLAS_KERNELS_PER_STEP);
167
168 bParam->time = 1e50; // any large number;
169 bParam->dim = dim;
170
171 bParam->offset = 0;
172 bParam->size = 0;
173 bParam->sstatus = SS_NOLOAD;
174}
175
176void
177initExtraData(BlasExtraInfo* bExtra, DataType dTypes, unsigned int flags, DeviceInfo* di)

Callers 1

initExtraDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected