Skip to content

C++ compile fail when using Visual Studio and setting WITH_CUDA=ON #343

@HunterTracer

Description

@HunterTracer

The error is like csrc\cuda\segment_coo_cuda.cu(217): error C2975: 'REDUCE': invalid template argument for 'Reducer', expected compile-time constant expression, etc.

It seems that adding "static constexpr" in reducer.cuh can solve the problem, like #342, can it be merged? Thanks!

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