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

Function DnMatDnMatDivide

XM/include/Dense/matdivide.h:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21// cpu function of Ddot
22template <typename T>
23void DnMatDnMatDivide(
24 DeviceDnTen<T>& dnmat3, DeviceDnTen<T>& dnmat1, const DeviceDnTen<T>& dnmat2, const size_s power,
25 const cudaStream_t& stream = (cudaStream_t) 0, int block_size = 1024
26) {
27 int num_block = (dnmat1.total_size + block_size - 1) / block_size;
28 dnmat_divide_kernel<<<num_block, block_size, 0, stream>>>(
29 dnmat3.vals, dnmat1.vals, dnmat2.vals, dnmat1.total_size, power
30 );
31 return;
32}
33
34#endif // DENSE_MATDOT_H

Callers 1

XMtrustregionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected