MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / num_elements_gt

Method num_elements_gt

cutlass.py/tiling.py:68–73  ·  view source on GitHub ↗

We can conclude if number of elements larger than a given value. Because all dimensions should be > 0.

(self, number: int)

Source from the content-addressed store, hash-verified

66 return math.prod(self.dimensions)
67
68 def num_elements_gt(self, number: int):
69 """
70 We can conclude if number of elements larger than a given value.
71 Because all dimensions should be > 0.
72 """
73 return math.prod(self.get_static_dims()) > number
74
75 def num_elements_ge(self, number: int):
76 """

Callers

nothing calls this directly

Calls 1

get_static_dimsMethod · 0.95

Tested by

no test coverage detected