diff src/share/vm/runtime/thread.cpp @ 13111:5465ba051280

HSAIL: removed AMD GPU detection until a) clashing AMD CPU and GPU vendor ID issue is resolved and b) HSA port is more complete Contributed-by: Eric Caspole <Eric.Caspole@amd.com>
author Doug Simon <doug.simon@oracle.com>
date Fri, 22 Nov 2013 15:47:39 +0100
parents 77fbf02f701c
children 6b2d8d20ecbd
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Nov 22 01:50:13 2013 +0100
+++ b/src/share/vm/runtime/thread.cpp	Fri Nov 22 15:47:39 2013 +0100
@@ -3378,10 +3378,6 @@
   // Initialize the os module before using TLS
   os::init();
 
-  // Probe for existance of supported GPU and initialize it if one
-  // exists.
-  gpu::init();
-
   // Initialize system properties.
   Arguments::init_system_properties();
 
@@ -3395,6 +3391,10 @@
   jint parse_result = Arguments::parse(args);
   if (parse_result != JNI_OK) return parse_result;
 
+  // Probe for existance of supported GPU and initialize it if one
+  // exists.
+  gpu::init();
+
   os::init_before_ergo();
 
   jint ergo_result = Arguments::apply_ergo();