diff src/share/vm/runtime/gpu.cpp @ 10879:d55f24eac4b1

PTX support for Linux
author Morris Meyer <morris.meyer@oracle.com>
date Thu, 25 Jul 2013 22:15:30 -0400
parents 147162b27799
children 4f69a5189e77
line wrap: on
line diff
--- a/src/share/vm/runtime/gpu.cpp	Thu Jul 25 18:02:29 2013 -0700
+++ b/src/share/vm/runtime/gpu.cpp	Thu Jul 25 22:15:30 2013 -0400
@@ -24,17 +24,15 @@
 
 #include "precompiled.hpp"
 #include "runtime/gpu.hpp"
-#include "ptx/gpu_ptx.hpp"
 
 bool gpu::_available = false;   // does the hardware exist?
 bool gpu::_gpu_linkage = false; // is the driver library to access the GPU installed
-bool gpu::_initialized = false; // is the GPU defvice initialized
+bool gpu::_initialized = false; // is the GPU device initialized
 
 void gpu::init() {
-#ifdef TARGET_OS_FAMILY_bsd
+#if defined(TARGET_OS_FAMILY_bsd) || defined(TARGET_OS_FAMILY_linux)
   gpu::probe_gpu();
 #endif
   // need multi-gpu TARGET ifdef
   gpu::probe_linkage();
 }
-