Skip to content

Error with conv_de_layer.cu #1

@LoomisChen

Description

@LoomisChen

using in NVCaffe 0.17.2

NVCC src/caffe/layers/conv_dw_layer.cu
src/caffe/layers/conv_dw_layer.cu(210): error: argument list for class template "caffe::ConvolutionDepthwiseLayer" is missing

src/caffe/layers/conv_dw_layer.cu(210): error: explicit type is missing ("int" assumed)

2 errors detected in the compilation of "/tmp/tmpxft_000053ad_00000000-6_conv_dw_layer.cpp1.ii".
make: *** [.build_release/cuda/src/caffe/layers/conv_dw_layer.o] Error 1

use INSTANTIATE_LAYER_GPU_FUNCS_FB instead of INSTANTIATE_LAYER_GPU_FUNCS in line 210
and add "template " before every "gpu_data"

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