clray

diff src/ocl.h @ 14:29f9330cfa4b

trying to debug the bloody thing
author John Tsiombikas
date Sat, 07 Aug 2010 03:36:36 +0100
parents 85fd61f374d9
children 97cfd9675310
line diff
     1.1 --- a/src/ocl.h	Wed Aug 04 04:51:06 2010 +0100
     1.2 +++ b/src/ocl.h	Sat Aug 07 03:36:36 2010 +0100
     1.3 @@ -53,6 +53,8 @@
     1.4  		cl_float4 vval;
     1.5  		CLMemBuffer *mbuf;
     1.6  	} v;
     1.7 +
     1.8 +	CLArg();
     1.9  };
    1.10  
    1.11  
    1.12 @@ -74,6 +76,7 @@
    1.13  	bool set_argf(int arg, float val);
    1.14  	bool set_arg_buffer(int arg, int rdwr, size_t sz, void *buf = 0);
    1.15  	CLMemBuffer *get_arg_buffer(int arg);
    1.16 +	int get_num_args() const;
    1.17  
    1.18  	bool build();
    1.19