public Test(ComputeType computingType) { Cache = new Topology.TraversalCache(0, Topology.TraversalCache.TraverseAllMask); Nodes = new NativeList <NodeHandle <TNodeType> >(10, Allocator.Temp); Set = new NodeSet(); m_Options = Topology.CacheAPI.ComputationOptions.Create(computeJobified: computingType == ComputeType.Jobified); }
public Test(ComputeType computingType, PortDescription.Category traversalCategory) { Cache = new Topology.TraversalCache(0, (uint)traversalCategory); Nodes = new NativeList <NodeHandle <TNodeType> >(10, Allocator.Temp); Set = new NodeSet(); m_Options = Topology.CacheAPI.ComputationOptions.Create(computeJobified: computingType == ComputeType.Jobified); }
public Test(Topology.SortingAlgorithm algo, ComputeType computingType, uint traversalMask, uint alternateMask) { Cache = new Topology.TraversalCache(0, traversalMask, alternateMask); Nodes = new NativeList <Node>(10, Allocator.Temp); TestDatabase = new TopologyTestDatabase(Allocator.Temp); m_Options = Topology.CacheAPI.ComputationOptions.Create(computeJobified: computingType == ComputeType.Jobified); Version = Topology.CacheAPI.VersionTracker.Create(); m_Algorithm = algo; }