Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.hpp Wed Jan 15 20:21:53 2014 +0100 +++ b/src/gpu/ptx/vm/gpu_ptx.hpp Wed Jan 15 20:24:13 2014 +0100 @@ -105,7 +105,10 @@ typedef int CUdevice; /* CUDA device */ - static jlong execute_kernel_from_vm(JavaThread* thread, jlong kernel, jlong parametersAndReturnValueBuffer, jint parametersAndReturnValueBufferSize, int encodedReturnTypeSize); + static jlong execute_kernel_from_vm(JavaThread* thread, jlong kernel, jint dimX, jint dimY, jint dimZ, + jlong parametersAndReturnValueBuffer, + jint parametersAndReturnValueBufferSize, + int encodedReturnTypeSize); private: typedef int (*cuda_cu_init_func_t)(unsigned int);