[PATCH] D80353: [mlir][mlir-cuda-runner] Fix obvious unit test error introduced in D80167. NFC.

Wen-Heng (Jack) Chung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 20:25:37 PDT 2020


whchung created this revision.
whchung added a reviewer: rsmith.
whchung added a project: MLIR.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, yaxunl.
Herald added a project: LLVM.
whchung retitled this revision from "[mlir][mlir-cuda-runner] Fix obvious unit test error introduced in D80167." to "[mlir][mlir-cuda-runner] Fix obvious unit test error introduced in D80167. NFC.".

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80353

Files:
  mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp


Index: mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
===================================================================
--- mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
+++ mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
@@ -37,8 +37,8 @@
   return err;
 }
 
-extern "C" int32_t mcuModuleGetFunction(void **function, void *module,
-                                        const char *name) {
+extern "C" int32_t mgpuModuleGetFunction(void **function, void *module,
+                                         const char *name) {
   return reportErrorIfAny(
       cuModuleGetFunction(reinterpret_cast<CUfunction *>(function),
                           reinterpret_cast<CUmodule>(module), name),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80353.265411.patch
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/f3acc72f/attachment.bin>


More information about the llvm-commits mailing list