22#if defined(NE_COMPUTE_MODEL_ALLOW_GPGPU)
29#if defined(NE_COMPUTE_MODEL_ALLOW_GPGPU)
107 ComputeModel(
unsigned int inNumThreads) : numThreads(inNumThreads > 0 ? inNumThreads : 1)
111#if defined(NE_COMPUTE_MODEL_ALLOW_GPGPU)
112 ComputeModel(
unsigned int inNumThreads, std::shared_ptr<GraphicsEngine>
const& inEngine, std::shared_ptr<ProgramFactory>
const& inFactory)
113 : numThreads(inNumThreads > 0 ? inNumThreads : 1), engine(inEngine), factory(inFactory)
118 unsigned int numThreads;
119#if defined(NE_COMPUTE_MODEL_ALLOW_GPGPU)
120 std::shared_ptr<GraphicsEngine> engine;
121 std::shared_ptr<ProgramFactory> factory;
ComputeModel()
Default constructor.
ComputeModel(unsigned int inNumThreads)
Constructor.