GPURuntime: Check for debug-mode early on
authorTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 09:15:53 +0000 (09:15 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 09:15:53 +0000 (09:15 +0000)
commit0a1a2720c86d5a5fc5577896bc1946544d6d2af9
tree31cfbcdadb7b379482855d89edf2fede0da110d4
parentc20d47751d268eb03f0fd7529ac35536ad7ef8bd
GPURuntime: Check for debug-mode early on

Before this change, the debug statements in polly_initDevice would all be
skipped, as debug-mode would only be enabled _after_ they have already been run.

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