Mercurial > hg > truffle
comparison src/gpu/hsail/vm/gpu_hsail.cpp @ 16540:a18c229b9a0b
HSAIL: fix performance warning (treated as error on windows!) due to jint=>bool conversion (in line 197)
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Thu, 17 Jul 2014 11:00:19 +0200 |
parents | d5c4bb0039d8 |
children | a29e6e7b7a86 |
comparison
equal
deleted
inserted
replaced
16539:cc30bd72a19b | 16540:a18c229b9a0b |
---|---|
183 thread->set_gpu_exception_method(mh()); | 183 thread->set_gpu_exception_method(mh()); |
184 THROW_MSG_0(vmSymbols::java_lang_NullPointerException(), buf); | 184 THROW_MSG_0(vmSymbols::java_lang_NullPointerException(), buf); |
185 } | 185 } |
186 | 186 |
187 // Run the kernel | 187 // Run the kernel |
188 bool success = false; | 188 jboolean success = false; |
189 { | 189 { |
190 TraceTime t("execute kernel", TraceGPUInteraction); | 190 TraceTime t("execute kernel", TraceGPUInteraction); |
191 graal_okra_range_t kernel_range = {0}; | 191 graal_okra_range_t kernel_range = {0}; |
192 | 192 |
193 //in_kernel = 1; | 193 //in_kernel = 1; |