Skip to content

Error: identifier "__shfl_sync" is undefined #10323

@chengduoZH

Description

@chengduoZH

Env:

  • Ubuntu 16.04.4
  • CUDA 8.0
  • g++ 5.4.0
/paddle/dev/my/paddle/paddle/cuda/src/hl_top_k.cu(253): error: identifier "__shfl_sync" is undefined
          detected during instantiation of "void KeMatrixTopK<maxLength,blockSize>(real *, int, int *, real *, int, int, int) [with maxLength=5, blockSize=256]"
(367): here

1 error detected in the compilation of "/tmp/tmpxft_0000944f_00000000-17_hl_top_k.compute_61.cpp1.ii".
CMake Error at paddle_cuda_generated_hl_top_k.cu.o.cmake:262 (message):
  Error generating file
  /paddle/dev/my/paddle/build/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_top_k.cu.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions