Page MenuHomePhabricator

[CUDA][Clang][Bugfix] Add missing CUDA 9.2 case

Authored by gtbercea on May 2 2019, 6:48 PM.



The bug was reported on the OpenMP-dev list:

.../obj-release/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h:173:35: error: 'nvvm_shfl_sync_idx_i32' needs target feature ptx60|ptx61|ptx63|ptx64
MAKE_SYNC_SHUFFLES(shfl_sync, nvvm_shfl_sync_idx_i32,

This problem occurs when trying to compile a .cu file that requires a newer ptx version (>ptx60 in this case) than ptx42.

Diff Detail

rC Clang

Event Timeline

gtbercea created this revision.May 2 2019, 6:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2019, 6:48 PM
tra accepted this revision.May 3 2019, 9:38 AM
This revision is now accepted and ready to land.May 3 2019, 9:38 AM
Closed by commit rC359910: [CUDA][Clang][Bugfix] Add missing CUDA 9.2 case (authored by gbercea, committed by ). · Explain WhyMay 3 2019, 10:59 AM
This revision was automatically updated to reflect the committed changes.