MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / batches

Method batches

extensions/include/cuMat/src/ProductOp.h:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 return TransposedRight ? right_.rows() : right_.cols();
213 }
214 __host__ __device__ CUMAT_STRONG_INLINE Index batches() const
215 {
216 if (BatchesLeft == 1) //broadcast left
217 return right_.batches();
218 else //maybe broadcast right
219 return left_.batches();
220 }
221 __host__ __device__ CUMAT_STRONG_INLINE Index innerSize() const
222 {
223 return TransposedLeft ? left_.rows() : left_.cols();

Callers 2

ProductOpMethod · 0.45
evalImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected