mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
136e458b75
For now CUDA-9 is not included in the list of CUDA versions clang searches for, so the path to CUDA-9 must be explicitly passed via --cuda-path=. On LLVM side NVPTX added sm_70 GPU type which bumps required PTX version to 6.0, but otherwise is equivalent to sm_62 at the moment. Differential Revision: https://reviews.llvm.org/D37576 llvm-svn: 312734
6 lines
160 B
LLVM
6 lines
160 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_70 | FileCheck %s
|
|
; RUN: llc < %s -march=nvptx64 -mcpu=sm_70 | FileCheck %s
|
|
|
|
; CHECK: .version 6.0
|
|
; CHECK: .target sm_70
|