spspmm_cpu.h 384 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
#pragma once

3
#include "../extensions.h"
rusty1s's avatar
rusty1s committed
4
5
6
7
8
9
10

std::tuple<torch::Tensor, torch::Tensor, torch::optional<torch::Tensor>>
spspmm_cpu(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);