diff src/os/bsd/vm/gpu_bsd.cpp @ 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 49db2c1e3bee
children 66e3af78ea96
line wrap: on
line diff
--- a/src/os/bsd/vm/gpu_bsd.cpp	Thu Feb 06 00:21:10 2014 -0800
+++ b/src/os/bsd/vm/gpu_bsd.cpp	Thu Feb 06 11:14:19 2014 +0100
@@ -23,6 +23,8 @@
  */
 
 #include "runtime/gpu.hpp"
+#include "ptx/vm/gpu_ptx.hpp"
+#include "hsail/vm/gpu_hsail.hpp"
 #include "utilities/ostream.hpp"
 
 jobject gpu::probe_gpus(JNIEnv* env) {
@@ -31,7 +33,7 @@
    * Let the CUDA driver initialization be the gate to GPU for now, pending
    * a better detection solution for NVIDA PTX and AMD HSAIL.
    */
-  if (gpu::Ptx::register_natives(env)) {
+  if (Ptx::register_natives(env)) {
     if (TraceGPUInteraction) {
       tty->print_cr("Assuming NVidia/PTX support (APPLE)");
     }