models icon indicating copy to clipboard operation
models copied to clipboard

想在AI studio上跑pointnet,但是环境里没有nvcc,无法编译动态库

Open LLChocolate opened this issue 5 years ago • 2 comments

pointnet++里有几个自定义op需要将c++和cuda代码编译成动态库,需要通过g++/nvcc编译,但是aistudio环境里没有nvcc,求解。

LLChocolate avatar Mar 26 '20 05:03 LLChocolate

I try this too on ai studio. I can use the nvcc complier but failed in g++ compile. Detailly, nvcc ${op}.cu -c -o ${op}.cu.o success , I get several *.cu.o. But, the next g++ operation failed. Thecode is void Apply(GradOpPtr<T> op) const override {} in gather_point_op.cc, group_points_op.cc,three_interp_op.cc.

alfredtorres avatar Mar 26 '20 08:03 alfredtorres

我们相关同学验证了一下,v100的GPU环境是有预装nvcc的。

image

NHZlX avatar Mar 27 '20 09:03 NHZlX