changeset 13890:4cbe077ab49a

removed UseHSAILSimulator option
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Feb 2014 11:20:33 +0100
parents 6a030a69c3d8
children bc471f405eb8
files src/os/linux/vm/gpu_linux.cpp src/os/windows/vm/gpu_windows.cpp src/share/vm/runtime/globals.hpp
diffstat 3 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/linux/vm/gpu_linux.cpp	Thu Feb 06 11:17:58 2014 +0100
+++ b/src/os/linux/vm/gpu_linux.cpp	Thu Feb 06 11:20:33 2014 +0100
@@ -42,7 +42,7 @@
   bool hsail = false;
   bool ptx = false;
 
-  if (UseHSAILSimulator && Hsail::register_natives(env)) {
+  if (Hsail::register_natives(env)) {
     hsail = true;
   }
 
--- a/src/os/windows/vm/gpu_windows.cpp	Thu Feb 06 11:17:58 2014 +0100
+++ b/src/os/windows/vm/gpu_windows.cpp	Thu Feb 06 11:20:33 2014 +0100
@@ -29,7 +29,7 @@
 
 jobject gpu::probe_gpus(JNIEnv* env) {
   // TODO: add detection of PTX/NVidia
-  if (UseHSAILSimulator && Hsail::register_natives(env)) {
+  if (Hsail::register_natives(env)) {
     return env->NewStringUTF("HSAIL");
   }
   return env->NewStringUTF("");
--- a/src/share/vm/runtime/globals.hpp	Thu Feb 06 11:17:58 2014 +0100
+++ b/src/share/vm/runtime/globals.hpp	Thu Feb 06 11:20:33 2014 +0100
@@ -3840,9 +3840,6 @@
   product(bool , AllowNonVirtualCalls, false,                               \
           "Obey the ACC_SUPER flag and allow invokenonvirtual calls")       \
                                                                             \
-  product(bool, UseHSAILSimulator, false,                                   \
-          "Run code on HSAIL Simulator")                                    \
-                                                                            \
   diagnostic(ccstr, SharedArchiveFile, NULL,                                \
           "Override the default location of the CDS archive file")          \
                                                                             \