[NFC] [GPUJIT] Print line number & size information on allocateMemoryForDeviceCuda...
authorSiddharth Bhat <siddu.druid@gmail.com>
Tue, 8 Aug 2017 09:03:27 +0000 (09:03 +0000)
committerSiddharth Bhat <siddu.druid@gmail.com>
Tue, 8 Aug 2017 09:03:27 +0000 (09:03 +0000)
commit8ff723dcf136b8632f42eb2a9bd5242641474263
treea86cbe43c9a995fde8df6f8bef4c91fbe2a80e07
parent8e351e90186a9f31625694f1b28443cc82f7a38a
[NFC] [GPUJIT] Print line number & size information on allocateMemoryForDeviceCuda failure

- It's useful to know the amount of memory asked for since, for example,
  asking for `0` bytes of memory is illegal.

- Line number is helpful since we print the same message in the function
  at different points.

llvm-svn: 310340
polly/tools/GPURuntime/GPUJIT.c