MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / operator()

Method operator()

extensions/include/cuMat/src/NullaryOps.h:97–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 {
96 public:
97 __device__ CUMAT_STRONG_INLINE _Scalar operator()(Index row, Index col, Index batch) const
98 {
99 return (row==col) ? _Scalar(1) : _Scalar(0);
100 }
101 };
102}
103

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected