Esempio n. 1
0
        public override void Validate(MyValidator validator)
        {
            base.Validate(validator);

            if (validator.ValidationSucessfull)
            {
                string errorOutput;
                validator.AssertError(MyDistanceOps.Validate(Operation, GetInput(0).Count, GetInput(1).Count, Temp.Count, Output.Count, out errorOutput), this, errorOutput);
            }
        }
Esempio n. 2
0
 public override void Init(int nGPU)
 {
     _distOperation = new MyDistanceOps(Owner, Owner.Operation, Owner.Temp); // it may need A for setting up kernel size!
 }