repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mlir][tensor] fix typo in pad tiling comment
[llvm-project.git]
/
mlir
/
test
/
Conversion
/
GPUCommon
/
set-default-device.mlir
blob
c23d8a33d988036df4ecb862566ba116a36e0f1b
1
// RUN: mlir-opt %s --gpu-to-llvm | FileCheck %s
2
3
module attributes {gpu.container_module} {
4
// CHECK-LABEL: func @set_default_device
5
func.func @set_default_device(%arg0: i32) {
6
// CHECK: mgpuSetDefaultDevice
7
gpu.set_default_device %arg0
8
return
9
}
10
}