16 lines · plain
1// RUN: mlir-opt %s -convert-gpu-to-rocdl -split-input-file | FileCheck %s2// 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=BARE6 7gpu.module @memref_conversions {8 // CHECK: llvm.func @kern9 // CHECK-SAME: (%{{.*}}: !llvm.ptr, %{{.*}}: !llvm.ptr, %{{.*}}: i64, %{{.*}}: i64, %{{.*}}: i64)10 // BARE: llvm.func @kern11 // BARE-SAME: (%{{.*}}: !llvm.ptr)12 gpu.func @kern(%arg0: memref<8xf32>) kernel {13 gpu.return14 }15}16