Build is broken for CUDA 12.5
It seems thrust is broken for CUDA 12.5 and so does the build. ... from /content/openpose/3rdparty/caffe/src/caffe/layers/cudnn_softmax_layer.cpp:4: /usr/local/cuda/include/cub/util_device.cuh: In static member function ‘static typename AgentT::TempStorage& cub::CUB_200400___CUDA_ARCH_LIST___NS::detail::vsmem_helper_impl::get_temp_storage(cub::CUB_200400___CUDA_ARCH_LIST___NS::NullType&, cub::CUB_200400___CUDA_ARCH_LIST___NS::detail::vsmem_t&)’: /usr/local/cuda/include/cub/util_device.cuh:160:63: error: ‘blockIdx’ was not declared in this scope 160 | static_cast<char*>(vsmem.gmem_ptr) + (vsmem_per_block * blockIdx.x)); | ^~~~~~~~ /usr/local/cuda/include/cub/util_device.cuh: In static member function ‘static bool cub::CUB_200400___CUDA_ARCH_LIST___NS::detail::vsmem_helper_impl::discard_temp_storage(typename AgentT::TempStorage&)’: /usr/local/cuda/include/cub/util_device.cuh:201:38: error: ‘threadIdx’ was not declared in this scope 201 | const std::size_t linear_tid = threadIdx.x; | ^~~~~~~~~ /usr/local/cuda/include/cub/util_device.cuh:202:50: error: ‘blockDim’ was not declared in this scope 202 | const std::size_t block_stride = line_size * blockDim.x; | ^~~~~~~~ ...
Source: CMU-Perceptual-Computing-Lab/openpose