MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / mean_d_d

Function mean_d_d

cmp_framework/common/hdr_encode.cpp:1687–1696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1685}
1686
1687void mean_d_d(float d[][MAX_DIMENSION_BIG], float mean[MAX_DIMENSION_BIG], int n, int dimension) {
1688 int i, j;
1689 for (j = 0; j< dimension; j++)
1690 mean[j] = 0;
1691 for (i = 0; i< n; i++)
1692 for (j = 0; j< dimension; j++)
1693 mean[j] += d[i][j];
1694 for (j = 0; j< dimension; j++)
1695 mean[j] /= (float)n;
1696}
1697
1698void index_collapse_kernel(int index[], int numEntries) {
1699 int k;

Callers 2

ep_shaker_HDFunction · 0.70
ep_shaker_2_dFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected