[Openmp-dev] instruction 'vote' without '.sync' is not supported on .target sm_70 and higher from PTX ISA version 6.4
Johannes Doerfert via Openmp-dev
openmp-dev at lists.llvm.org
Sun Feb 9 22:34:07 PST 2020
I haven't seen that.
If no one knows a bug ID for this, please open up one.
On 02/09, Kelvin Li via Openmp-dev wrote:
> Is it a known problem?
>
> int main()
> {
> int t=-1;
>
> #pragma omp target teams map(t)
> {
> #pragma omp parallel reduction(+: t)
> {
> #pragma omp parallel reduction(+: t)
> {
> t = 1;
> }
> }
> }
> }
>
> $ clang -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda tmp.c
> ptxas /tmp/thread_limit-984c26.s, line 1792; error : Instruction 'vote'
> without '.sync' is not supported on .target sm_70 and higher from PTX ISA
> version 6.4
> ptxas fatal : Ptx assembly aborted due to errors
> clang-11: error: ptxas command failed with exit code 255 (use -v to see
> invocation)
>
> $ bin/clang -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda tmp.c
> -Xopenmp-target -march=sm_60
> ptxas /tmp/thread_limit-5cc9b6.s, line 1792; warning : Instruction 'vote'
> without '.sync' is deprecated since PTX ISA version 6.0 and will be
> discontinued in a future PTX ISA version
>
> Kelvin
>
>
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
--
Johannes Doerfert
Researcher
Argonne National Laboratory
Lemont, IL 60439, USA
jdoerfert at anl.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200210/0e545269/attachment.sig>
More information about the Openmp-dev
mailing list