v3.9 (#2185)
* v3.8 update x * fix blackwell gg * doc change * doc change * doc change --------- Co-authored-by: yuzhai <yuzhai@nvidia.com> Co-authored-by: Haicheng Wu <haichengw@nvidia.com> Co-authored-by: Haicheng Wu <57973641+hwu36@users.noreply.github.com>
This commit is contained in:
@@ -117,12 +117,7 @@ def shape_div(a, b):
|
||||
return shape_div(a, product(b))
|
||||
else: # "int" "int"
|
||||
assert a % b == 0 or b % a == 0
|
||||
#return -(-a // b) # Python exclusive impl: "//" is always floor div
|
||||
if a % b == 0:
|
||||
return a // b
|
||||
else:
|
||||
return signum(a*b)
|
||||
|
||||
return (a + b - 1) // b
|
||||
|
||||
# Exclusive prefix product with output congruent to input a
|
||||
def prefix_product(a, init=1):
|
||||
|
||||
Reference in New Issue
Block a user