Exemplo n.º 1
0
        public void Start(PascalStratum aPascalStratum, int aPascalIntensity, int aPascalLocalWorkSize)
        {
            Stratum = aPascalStratum;
            mPascalGlobalWorkSizeArray[0] = aPascalIntensity * OpenCLDevice.GetMaxComputeUnits() * aPascalLocalWorkSize;
            mPascalLocalWorkSizeArray[0]  = aPascalLocalWorkSize;

            base.Start();
        }
 public Job(PascalStratum aStratum, string aID, string aCoinbase1, string aCoinbase2, string aNTime)
     : base(aStratum)
 {
     mStratum   = aStratum;
     mID        = aID;
     mCoinbase1 = aCoinbase1;
     mCoinbase2 = aCoinbase2;
     mNTime     = aNTime;
 }
Exemplo n.º 3
0
        public void Start(EthashStratum aEthashStratum, PascalStratum aPascalStratum, int aEthashIntensity, int aPascalIterations)
        {
            mEthashStratum = aEthashStratum;
            mEthashLocalWorkSizeArray[0]  = 256;
            mEthashGlobalWorkSizeArray[0] = aEthashIntensity * mEthashLocalWorkSizeArray[0] * OpenCLDevice.GetComputeDevice().MaxComputeUnits;

            mPascalStratum = aPascalStratum;
            mPascalRatio   = (UInt32)aPascalIterations;

            base.Start();
        }
Exemplo n.º 4
0
 public override void SetSecondaryStratum(Stratum stratum)
 {
     SecondaryStratum = (PascalStratum)stratum;
 }
Exemplo n.º 5
0
 public override void SetPrimaryStratum(Stratum stratum)
 {
     Stratum = (PascalStratum)stratum;
 }