projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ptx: add command-line options for gpu target and ptx version
[oota-llvm.git]
/
test
/
CodeGen
/
PTX
/
options.ll
1
; RUN: llc < %s -march=ptx -ptx-version=2.0 | grep ".version 2.0"
2
; RUN: llc < %s -march=ptx -ptx-target=sm_20 | grep ".target sm_20"
3
4
define ptx_device void @t1() {
5
ret void
6
}