| 17 | // function for dense tensor |
| 18 | template <typename T> |
| 19 | inline void ScaMat(DeviceDnTen<T>& mat, T scalar) { |
| 20 | // allocate memory for the result |
| 21 | ScaMatkernel<<<(mat.total_size + 1023) / 1024, 1024>>>(mat.vals, scalar, mat.total_size); |
| 22 | |
| 23 | } |
| 24 | |
| 25 | |
| 26 | #endif // DENSE_SCALAR_H |
nothing calls this directly
no outgoing calls
no test coverage detected