Macaulay2 Engine
Loading...
Searching...
No Matches

◆ SchreyerFrame()

SchreyerFrame::SchreyerFrame ( const ResPolyRing & R,
int max_level,
int numThreads,
bool parallelizeByDegree )

Definition at line 57 of file res-schreyer-frame.cpp.

58 : mRing(R),
64 mComputer(new F4Res(*this)),
65 mNumThreads(mtbb::numThreads(numThreads)),
66 mParallelizeByDegree(parallelizeByDegree)
67#if defined(WITH_TBB)
68 , mScheduler(mNumThreads)
69 , mDepGraph(this)
70#endif
71{
72 mFrame.mLevels.resize(max_level + 1);
73 mMaxVPSize = 2 * monoid().n_vars() + 1;
74
75 timeMakeMatrix = 0.0;
76 timeSortMatrix = 0.0;
78 timeGaussMatrix = 0.0;
79 timeClearMatrix = 0.0;
81 timeComputeRanks = 0.0;
83
84 //std::cout << "hardware tbb threads: " << tbb::info::default_concurrency() << std::endl;
85 //std::cout << "hardware threads: " << std::thread::hardware_concurrency() << std::endl;
86 //std::cout << "using " << mNumThreads << " threads" << std::endl;
87}
enum SchreyerFrame::@107076371201376153077324375251043314133302145334 mState
const ResMonoid & monoid() const
const ResPolyRing & mRing
std::unique_ptr< F4Res > mComputer

References F4Res, Initializing, mComputer, mCurrentLevel, mFrame, mHiSlantedDegree, mLoSlantedDegree, mMaxVPSize, mNumThreads, monoid(), mParallelizeByDegree, mRing, mSlantedDegree, mState, ResMonoidDense::n_vars(), timeClearMatrix, timeComputeRanks, timeComputeSparseRanks, timeGaussMatrix, timeMakeMatrix, timeReorderMatrix, timeResetHashTable, and timeSortMatrix.