diff src/gpu/ptx/vm/gpu_ptx.hpp @ 13624:220ed109bf77

initial code for calling PTX kernel code from Java with parameter marshaling and return value unmarshaling performed by a wrapper specified via manual graph construction
author Doug Simon <doug.simon@oracle.com>
date Mon, 13 Jan 2014 22:32:27 +0100
parents 1a7e7011a341
children 27acedac70b7
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.hpp	Mon Jan 13 22:28:57 2014 +0100
+++ b/src/gpu/ptx/vm/gpu_ptx.hpp	Mon Jan 13 22:32:27 2014 +0100
@@ -103,7 +103,9 @@
   typedef unsigned int CUdeviceptr;
 #endif
 
-typedef int CUdevice;     /**< CUDA device */
+typedef int CUdevice;     /* CUDA device */
+
+  static jlong execute_kernel_from_vm(JavaThread* thread, jlong kernel, jlong parametersAndReturnValueBuffer, jint parametersAndReturnValueBufferSize, int encodedReturnTypeSize);
 
 private:
   typedef int (*cuda_cu_init_func_t)(unsigned int);