GraphDot icon indicating copy to clipboard operation
GraphDot copied to clipboard

kernel.cu(25): error: class "node_t" has no member "element"

Open youmingzhao91 opened this issue 2 years ago • 1 comments

kernel.cu(25): error: class "node_t" has no member "element" detected during: instantiation of "auto node_kernel_t::operator()(const X &, const X &) const [with X=node_t]" graphdot/graphdot/cpp/marginalized_kernel.h(227): here instantiation of "void graphdot::marginalized::labeled_compact_block_dynsched_pcg<Graph>::compute(NodeKernel, EdgeKernel, Graph, Graph, graphdot::marginalized::labeled_compact_block_dynsched_pcg<Graph>::scratch_t, char *, float, float, __nv_bool, float) [with Graph=graph_t, NodeKernel=node_kernel_t, EdgeKernel=edge_kernel_t]" (182): here

kernel.cu(25): error: class "node_t" has no member "element" detected during: instantiation of "auto node_kernel_t::operator()(const X &, const X &) const [with X=node_t]" graphdot/graphdot/cpp/marginalized_kernel.h(227): here instantiation of "void graphdot::marginalized::labeled_compact_block_dynsched_pcg<Graph>::compute(NodeKernel, EdgeKernel, Graph, Graph, graphdot::marginalized::labeled_compact_block_dynsched_pcg<Graph>::scratch_t, char *, float, float, __nv_bool, float) [with Graph=graph_t, NodeKernel=node_kernel_t, EdgeKernel=edge_kernel_t]" (182): here

2 errors detected in the compilation of "kernel.cu". ]

youmingzhao91 avatar Sep 10 '23 14:09 youmingzhao91

@mathfirst I am having the same issue. Were you able to find a fix for this?

gihanpanapitiya avatar Jan 14 '24 20:01 gihanpanapitiya