 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
28 # pragma warning(push)
29 # pragma warning(disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y
51 static Kernel *load(TiXmlElement *eKernel,
Device *device);
52 virtual void configure(TiXmlElement *eKernel)
override;
65 virtual float getComputeTime();
90 void setNumJobsPerThread(
agx::UInt numJobs);
116 virtual void rebind()
override;
120 virtual void parameterAddedCallback(
Parameter* parameter)
override;
121 virtual void parameterRemovedCallback(
Parameter* parameter)
override;
122 void locateNumWorkItemsValue();
151 UInt getNumJobs()
const;
158 virtual RangeJob *allocateRangeJobs(
size_t numJobs) = 0;
191 virtual RangeJob *allocateRangeJobs(
size_t numJobs)
override;
192 void callOnJobRange(
const RangeJob& job);
229 # pragma warning(pop)
A representation of a task/kernel parameter, which can be bound using a string path or explicitly to ...
Vector< RangeJob > m_rangeJobs
A kernel is an abstract representation of data parallel tasks.
RangeJob::RangeCallback RangeDispatch
agx::UInt getNumJobsPerThread() const
virtual void preDispatch()
Explicitly set the splitting parameter.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
const RangeDispatch & getRangeDispatch() const
agx::UInt getMinJobSize() const
A model is an abstract representation of the class of an agx::Object.
#define AGX_DECLARE_VECTOR_TYPES(type)
agx::UInt getNumWorkItems() const
Vec3T< T > min(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
A range job executes a kernel implementation on a subset of the data.
agx::UInt getMaxJobSize() const
RangeDispatch m_rangeDispatch
Representation of a name string.
A kernel which executes on the CPU using native C/C++ code.
Templated callback with one argument.
#define AGX_DECLARE_POINTER_TYPES(type)
void locateNumWorkItemsValue()
An agx::Device is an abstract representation of a device on which data can be stored and processed.
agx::UInt getCostPerElement() const
agxData::ValueRefT< UInt > m_numWorkItems
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
std::function< void(const RangeJob &)> LambdaCallback
std::function< UInt()> DataSetSizeCallback