diff src/share/vm/runtime/gpu.hpp @ 13888:51584f76462d

pulled Ptx and Hsail classes out of gpu class namespace
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Feb 2014 11:14:19 +0100
parents b97e2515d392
children 66e3af78ea96
line wrap: on
line diff
--- a/src/share/vm/runtime/gpu.hpp	Thu Feb 06 00:21:10 2014 -0800
+++ b/src/share/vm/runtime/gpu.hpp	Thu Feb 06 11:14:19 2014 +0100
@@ -32,21 +32,18 @@
 // Defines the interface to the graphics processor(s).
 class gpu : AllStatic {
  private:
-  static int _initialized_gpus;
-
-  // Notifies that a GPU device has been initialized.
-  static void initialized_gpu(const char* name);
+  static int _initialized_gpus;  // number of initialize GPU devices
 
  public:
 
+  // Notification of a GPU device that has been initialized.
+  static void initialized_gpu(const char* name);
+
   // Gets a comma separated list of supported GPU architecture names.
   static jobject probe_gpus(JNIEnv* env);
   
+  // Gets the number of GPU devices that have been initialized.
   static int initialized_gpus() { return _initialized_gpus; }
-
-# include "ptx/vm/gpu_ptx.hpp"
-# include "hsail/vm/gpu_hsail.hpp"
-
 };
 
 #endif // SHARE_VM_RUNTIME_GPU_HPP