11 #ifndef __GAS_OpenCL_h__
12 #define __GAS_OpenCL_h__
54 return new SIM_QueryCombine(BaseClass::createQueryObjectSubclass(), nodeParam().createQueryObject(
this));
58 BaseClass::makeEqualSubclass(source);
68 BaseClass::saveSubclass(os);
73 if (!BaseClass::loadSubclass(is))
75 if (!myNodeParms.load(is))
116 int singlekernelmaxitems,
136 int singleworkitems = 0);
148 int singlekernelmaxitems,
154 int frame,
fpreal timestep);
156 int frame,
fpreal timestep);
157 bool executeOpenCLKernelAlignedSingleAlign(
cl::Kernel &kernel,
159 bool executeOpenCLKernelAlignedMultiAlign(
cl::Kernel &kernel,
161 bool executeOpenCLKernelGeometry(
cl::Kernel &kernel,
163 int singlekernelmaxitems,
166 bool executeOpenCLKernelVDB(
cl::Kernel &kernel,
177 getDopDescription());
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
void setVersionParms(OP_VERSION version)
#define DECLARE_STANDARD_GETCASTTOTYPE()
#define SIM_DATA_CASTCONST(Data, DataClass)
const GAS_OpenCLParms & param() const
GT_API const UT_StringHolder time
virtual bool solveGasSubclass(SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)=0
OP_VERSION versionParms() const
bool setKernelArguments(const UT_Array< Binding > &bindings, BindingPrecision nodeprecision, cl::Kernel &kernel, int &argidx, UT_Array< cl::Buffer > &buffers, fpreal timestep, UT_ErrorManager *error, UT_ErrorSeverity missingseverity, const OP &op)
GLuint GLsizei const GLuint const GLintptr * offsets
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
bool loadSubclass(UT_IStream &is) override
GLsizei GLsizei GLchar * source
GAS_OpenCLParms & nodeParam()
GT_API const UT_StringHolder version
const GAS_OpenCLParms & nodeParam() const
A global error manager scope.
Kernel interface that implements cl_kernel.
void saveSubclass(std::ostream &os) const override
void makeEqualSubclass(const SIM_Data *source) override
SIM_Query * createQueryObjectSubclass() const override
Creates a SIM_QueryArrays object to treat impact as a record.