1// RUN: mlir-opt %s -convert-gpu-to-rocdl -split-input-file | FileCheck %s 2// RUN: mlir-opt %s \ 3// RUN: -convert-gpu-to-rocdl='use-bare-ptr-memref-call-conv=true' \ 4// RUN: -split-input-file \ 5// RUN: | FileCheck %s --check-prefix=BARE 6 7gpu.module @memref_conversions { 8 // CHECK: llvm.func @kern 9 // CHECK-SAME: (%{{.*}}: !llvm.ptr, %{{.*}}: !llvm.ptr, %{{.*}}: i64, %{{.*}}: i64, %{{.*}}: i64) 10 // BARE: llvm.func @kern 11 // BARE-SAME: (%{{.*}}: !llvm.ptr) 12 gpu.func @kern(%arg0: memref<8xf32>) kernel { 13 gpu.return 14 } 15} 16