Skip to content

moments.cu(19): error: identifier "__shfl_xor_sync" is undefined #3612

@asmorkalov

Description

@asmorkalov

Build issue

/build/precommit_custom_linux/4.x/opencv_contrib/modules/cudaimgproc/src/cuda/moments.cu(19): error: identifier "__shfl_xor_sync" is undefined
          detected during:
            instantiation of "T cv::cuda::device::imgproc::butterflyWarpReduction(T) [with T=float]" 
(101): here
            instantiation of "void cv::cuda::device::imgproc::spatialMoments<TSrc,TMoments,coalesced,fourByteAligned,nMoments>(cv::cuda::PtrStepSz<TSrc>, __nv_bool, TMoments *, int) [with TSrc=uchar, TMoments=float, coalesced=true, fourByteAligned=false, nMoments=3]" 
(145): here
            instantiation of "void cv::cuda::device::imgproc::momentsDispatcherChar<TSrc, nMoments>::call(cv::cuda::PtrStepSz<TSrc>, cv::cuda::PtrStepSz<float>, __nv_bool, int, cudaStream_t) [with TSrc=uchar, nMoments=3]" 
(161): here
            instantiation of "void cv::cuda::device::imgproc::moments<TSrc,TMoments>(cv::cuda::PtrStepSzb, cv::cuda::PtrStepSzb, __nv_bool, int, int, cudaStream_t) [with TSrc=uchar, TMoments=float]" 
(168): here

CI link: https://pullrequest.opencv.org/buildbot/builders/precommit_custom_linux/builds/100406/steps/compile%20release/logs/stdio

System information (version)
  • OpenCV => 4.x
  • Operating System / Platform => Linux
  • Compiler => CUDA 8.0

Metadata

Metadata

Assignees

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