[PATCH] D32962: [Polly][GPUJIT] Fixed OpenCL 2.0 min requirement for Error codes

Siddharth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 07:23:52 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL302423: [Polly][GPUJIT] Fixed OpenCL 2.0 min requirement for Error codes (authored by bollu).

Changed prior to commit:
  https://reviews.llvm.org/D32962?vs=98136&id=98166#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32962

Files:
  polly/trunk/tools/GPURuntime/GPUJIT.c


Index: polly/trunk/tools/GPURuntime/GPUJIT.c
===================================================================
--- polly/trunk/tools/GPURuntime/GPUJIT.c
+++ polly/trunk/tools/GPURuntime/GPUJIT.c
@@ -859,10 +859,10 @@
   case CL_INVALID_DEVICE_PARTITION_COUNT:
     fprintf(stderr, "Invalid device partition count.\n");
     break;
-  case CL_INVALID_PIPE_SIZE:
+  case -69: // OpenCL 2.0 Code for CL_INVALID_PIPE_SIZE
     fprintf(stderr, "Invalid pipe size.\n");
     break;
-  case CL_INVALID_DEVICE_QUEUE:
+  case -70: // OpenCL 2.0 Code for CL_INVALID_DEVICE_QUEUE
     fprintf(stderr, "Invalid device queue.\n");
     break;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32962.98166.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170508/96db1ac1/attachment.bin>


More information about the llvm-commits mailing list