spspmm_cuda.h 389 Bytes
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
8
9
10
#pragma once

#include "../extensions.h"

std::tuple<torch::Tensor, torch::Tensor, torch::optional<torch::Tensor>>
spspmm_cuda(torch::Tensor rowptrA, torch::Tensor colA,
            torch::optional<torch::Tensor> optional_valueA,
            torch::Tensor rowptrB, torch::Tensor colB,
            torch::optional<torch::Tensor> optional_valueB, int64_t K,
            std::string reduce);