featgraph.h 596 Bytes
Newer Older
1
/**
Zhi Lin's avatar
Zhi Lin committed
2
 *  Copyright (c) 2020 by Contributors
3
4
 * @file featgraph/include/featgraph.h
 * @brief FeatGraph kernel headers.
Zhi Lin's avatar
Zhi Lin committed
5
6
7
8
9
10
11
12
13
 */
#ifndef FEATGRAPH_H_
#define FEATGRAPH_H_

#include <dlpack/dlpack.h>

namespace dgl {
namespace featgraph {

14
/* @brief Load Featgraph module from given path. */
Zhi Lin's avatar
Zhi Lin committed
15
16
void LoadFeatGraphModule(const std::string& path);

17
/* @brief Call Featgraph's SDDMM kernel. */
18
19
20
void SDDMMTreeReduction(
    DLManagedTensor* row, DLManagedTensor* col, DLManagedTensor* lhs,
    DLManagedTensor* rhs, DLManagedTensor* out);
Zhi Lin's avatar
Zhi Lin committed
21
22
23
24
25

}  // namespace featgraph
}  // namespace dgl

#endif  // FEATGRAPH_H_