comparison src/gpu/ptx/vm/gpu_ptx.hpp @ 13648:27acedac70b7

added support for @ParallelOver annotation in PTX kernel call wrapper
author Doug Simon <doug.simon@oracle.com>
date Wed, 15 Jan 2014 20:24:13 +0100
parents 220ed109bf77
children 80cd5c3b8827
comparison
equal deleted inserted replaced
13647:8edc6b0779f0 13648:27acedac70b7
103 typedef unsigned int CUdeviceptr; 103 typedef unsigned int CUdeviceptr;
104 #endif 104 #endif
105 105
106 typedef int CUdevice; /* CUDA device */ 106 typedef int CUdevice; /* CUDA device */
107 107
108 static jlong execute_kernel_from_vm(JavaThread* thread, jlong kernel, jlong parametersAndReturnValueBuffer, jint parametersAndReturnValueBufferSize, int encodedReturnTypeSize); 108 static jlong execute_kernel_from_vm(JavaThread* thread, jlong kernel, jint dimX, jint dimY, jint dimZ,
109 jlong parametersAndReturnValueBuffer,
110 jint parametersAndReturnValueBufferSize,
111 int encodedReturnTypeSize);
109 112
110 private: 113 private:
111 typedef int (*cuda_cu_init_func_t)(unsigned int); 114 typedef int (*cuda_cu_init_func_t)(unsigned int);
112 typedef int (*cuda_cu_ctx_create_func_t)(void*, unsigned int, CUdevice); 115 typedef int (*cuda_cu_ctx_create_func_t)(void*, unsigned int, CUdevice);
113 typedef int (*cuda_cu_ctx_destroy_func_t)(void*); 116 typedef int (*cuda_cu_ctx_destroy_func_t)(void*);