示例#1
0
        public SubJobResult GetEmptySubJobResult()
        {
            if (_emptySubJobResult == null)
            {
                int  size           = FGenerator.BLOCK_WIDTH * FGenerator.BLOCK_HEIGHT;
                uint iterationCount = 0;
                _emptySubJobResult = SubJobResult.GetEmptySubJobResult(size, iterationCount, InstanceNum, true);
            }

            SubJobResult.ClearSubJobResult(_emptySubJobResult);
            return(_emptySubJobResult);
        }
示例#2
0
文件: Job.cs 项目: drminor/FGenQD
        private SubJobResult GetEmptySubJobResult(KPoint dummy)
        {
            if (_emptySubJobResult == null)
            {
                int    size         = FGenerator.BLOCK_WIDTH * FGenerator.BLOCK_HEIGHT;
                string instanceName = "MainJob";
                _emptySubJobResult = SubJobResult.GetEmptySubJobResult(size, instanceName, includeZValuesOnRead: false);
            }

            SubJobResult.ClearSubJobResult(_emptySubJobResult);
            return(_emptySubJobResult);
        }