Skip to content

Commit 36d7566

Browse files
authored
Fixed a couple bugs in warp-lang bindings (#61)
1 parent 56170ce commit 36d7566

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

py/neon/dense/dPartition.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ CUDA_CALLABLE inline auto neon_cardinality(
121121
}
122122

123123
template<typename T>
124-
CUDA_CALLABLE inline auto neon_ngh_data(
124+
CUDA_CALLABLE inline auto neon_read_ngh(
125125
const NeonDensePartition<T>& p,
126126
NeonDenseIdx const & idx,
127127
NeonNghIdx const & ngh,

py/neon/dense/dPartition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def register_builtins():
181181
)
182182

183183
wp.context.add_builtin(
184-
"neon_ngh_data",
184+
"neon_read_ngh",
185185
input_types={"partition": Partition,
186186
'idx': dIndex,
187187
'ngh_idx': Ngh_idx,

0 commit comments

Comments
 (0)