Skip to content

CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined #8

@854768750

Description

@854768750

I have this error with make command

[ 69%] Building NVCC (Device) object dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/src/pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o
.....
cuda12-3-0/include/cub/util_namespace.cuh:46:2: error: #error CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined.
 #error CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined.
  ^~~~~

Software versions:

CUDA version:
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0

CC: gcc (GCC) 7.5.0
CXX: c++ (GCC) 7.5.0

GPUs compute compatibility: 7.5
GPU Driver Version: 530.41.03

Can you give some idea how to solve this? Which versions of software works?
I also tried CUDA 10.1 but still not work.
I also tried cmake arguments: -DBUILD_WITH_CUDA_CUB=ON -DUSE_CUDA=ON and not work.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions