diff src/share/vm/runtime/thread.cpp @ 9430:147162b27799

GRAAL-234 - PTX code loading
author Morris Meyer <morris.meyer@oracle.com>
date Tue, 30 Apr 2013 08:17:55 -0400
parents 89e4d67fdd2a
children 836a62f43af9
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Tue Apr 30 13:00:09 2013 +0200
+++ b/src/share/vm/runtime/thread.cpp	Tue Apr 30 08:17:55 2013 -0400
@@ -54,6 +54,7 @@
 #include "runtime/deoptimization.hpp"
 #include "runtime/fprofiler.hpp"
 #include "runtime/frame.inline.hpp"
+#include "runtime/gpu.hpp"
 #include "runtime/init.hpp"
 #include "runtime/interfaceSupport.hpp"
 #include "runtime/java.hpp"
@@ -3307,6 +3308,9 @@
   // Initialize the os module before using TLS
   os::init();
 
+  // probe for warp capability
+  gpu::init();
+
   // Initialize system properties.
   Arguments::init_system_properties();