megablocks / torch-ext /torch_binding.h
Akos Hadnagy
WIP
1e1ffe8
raw
history blame contribute delete
220 Bytes
#pragma once
#include <torch/torch.h>
torch::Tensor exclusive_cumsum_wrapper(torch::Tensor x, int64_t dim, torch::Tensor out);
// torch::Tensor inclusive_cumsum_wrapper(torch::Tensor x, int64_t dim, torch::Tensor out);