comparison src/gpu/ptx/vm/ptxKernelArguments.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
comparison
equal deleted inserted replaced
13623:c70dddf5ce4a 13624:220ed109bf77
32 #define T_BOOLEAN_SIZE 4 32 #define T_BOOLEAN_SIZE 4
33 #define T_INT_BYTE_SIZE 4 33 #define T_INT_BYTE_SIZE 4
34 #define T_FLOAT_BYTE_SIZE 4 34 #define T_FLOAT_BYTE_SIZE 4
35 #define T_DOUBLE_BYTE_SIZE 8 35 #define T_DOUBLE_BYTE_SIZE 8
36 #define T_LONG_BYTE_SIZE 8 36 #define T_LONG_BYTE_SIZE 8
37 #define T_OBJECT_BYTE_SIZE 8
37 #define T_ARRAY_BYTE_SIZE 8 38 #define T_ARRAY_BYTE_SIZE 8
38 39
39 class PTXKernelArguments : public SignatureIterator { 40 class PTXKernelArguments : public SignatureIterator {
40 public: 41 public:
41 // Buffer holding CUdeviceptr values that represent the kernel arguments 42 // Buffer holding CUdeviceptr values that represent the kernel arguments