Skip to content

编译出错 #26

@Wanghc233

Description

@Wanghc233

作者您好!
我在编译该代码下的chamfer3D和emd时报错。错误如下:
creating build/temp.linux-x86_64-cpython-37
/usr/local/cuda-11.0/bin/nvcc -I/home/whc/miniconda3/envs/spd/lib/python3.7/site-packages/torch/include -I/home/w/miniconda3/envs/spd/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/w/miniconda3/envs/spd/lib/python3.7/site-packages/torch/include/TH -I/home/w/miniconda3/envs/spd/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.0/include -I/home/whc/miniconda3/envs/spd/include/python3.7m -c chamfer3D.cu -o build/temp.linux-x86_64-cpython-37/chamfer3D.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=chamfer_3D -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unsupported gpu architecture 'compute_86'
期待您的回复!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions