Open JinwoongKim opened 8 years ago
When we call cudaMemcpy with smart pointers, it incurs compile errors
tree.cpp(101): ERROR : no suitable conversion function from "std::shared_ptr<ursus::node::Node>" to "const void *" exists
Need to find solutions ...
Moohyeon said get function in shared_ptr returns raw pointer so that I can pass it to cudaMemcpy
Try it out someday.
When we call cudaMemcpy with smart pointers, it incurs compile errors
Need to find solutions ...