MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / SqrtDn

Function SqrtDn

XM/include/Dense/sqrt.h:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// take deviceDnTen as input
17template <typename T>
18void SqrtDn(DeviceDnTen<T>& out, DeviceDnTen<T>& in) {
19 int blockSize = 1024;
20 int numBlocks = (out.total_size + blockSize - 1) / blockSize;
21 sqrtKernel<<<numBlocks, blockSize>>>(out.vals, in.vals, out.total_size);
22}
23
24#endif // DENSE_SQRT_H

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected