Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions minitorch/cuda_kernel_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def ret(a: Tensor, dim: int) -> Tensor:
np.ctypeslib.ndpointer(dtype=np.int32, ndim=1, flags='C_CONTIGUOUS'), # in_shape
np.ctypeslib.ndpointer(dtype=np.int32, ndim=1, flags='C_CONTIGUOUS'), # in_strides
ctypes.c_int, # reduce_dim
ctypes.c_double, # reduce_value
ctypes.c_float, # reduce_value
ctypes.c_int, # shape_len
ctypes.c_int, # fn_id
]
Expand Down Expand Up @@ -375,4 +375,4 @@ def matrix_multiply(a: Tensor, b: Tensor) -> Tensor:
if more_3d:
out = out.view(*ls)
# print(f"Debug in matmul: output shape {out.shape}")
return out
return out