changeset 13739:ac1e626432f9

GPUOffload option does not interact with GPU detection
author Doug Simon <doug.simon@oracle.com>
date Fri, 24 Jan 2014 00:49:10 +0100
parents b9c5875e3a36
children bfd61161d752
files src/share/vm/runtime/thread.cpp
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Jan 24 00:33:56 2014 +0100
+++ b/src/share/vm/runtime/thread.cpp	Fri Jan 24 00:49:10 2014 +0100
@@ -3395,11 +3395,8 @@
   if (parse_result != JNI_OK) return parse_result;
 
 #ifdef GRAAL
-  if (GPUOffload) {
-    // Probe for existance of supported GPU and initialize it if one
-    // exists.
-    gpu::init();
-  }
+  // Probe for supported GPUs and initialize them.
+  gpu::init();
 #endif
 
   os::init_before_ergo();