diff src/share/vm/runtime/gpu.hpp @ 12743:f1a55428a8d7

more HSAIL support in the C++ layer for executing HSAIL code on the simulator Contributed-by: Eric Caspole <eric.caspole@amd.com>
author Doug Simon <doug.simon@oracle.com>
date Sun, 10 Nov 2013 13:18:09 +0100
parents 8d8f63069f58
children 49db2c1e3bee
line wrap: on
line diff
--- a/src/share/vm/runtime/gpu.hpp	Sun Nov 10 11:42:31 2013 +0100
+++ b/src/share/vm/runtime/gpu.hpp	Sun Nov 10 13:18:09 2013 +0100
@@ -53,6 +53,9 @@
 
   static bool execute_kernel(address kernel, PTXKernelArguments & ptxka, JavaValue & ret);
 
+  // No return value from HSAIL kernels
+  static bool execute_kernel_void_1d(address kernel, int dimX, jobject args, methodHandle& mh);
+
   static void set_available(bool value) {
     _available = value;
   }
@@ -92,6 +95,7 @@
 #ifdef TARGET_OS_FAMILY_solaris
 #endif
 #ifdef TARGET_OS_FAMILY_windows
+# include "gpu_windows.hpp"
 #endif
 #ifdef TARGET_OS_FAMILY_bsd
 # include "gpu_bsd.hpp"
@@ -99,6 +103,7 @@
 
 public:
 # include "ptx/vm/gpu_ptx.hpp"
+# include "hsail/vm/gpu_hsail.hpp"
 
 };