public static void Correctness256()
        {
            var       target            = GPUModuleTarget.DefaultWorker;
            const int numBodies         = 256 * 56;
            var       expectedSimulator = new CpuSimulator(target.GetWorker(), numBodies);

            using (var actualSimulator = new GpuStaticSimulatorModule(target, 256))
            {
                Common.Test(expectedSimulator, actualSimulator, numBodies);
            }
        }
        public static void Correctness()
        {
            var       target            = GPUModuleTarget.DefaultWorker;
            const int numBodies         = 256 * 56;
            var       expectedSimulator = new CpuSimulator(target.GetWorker(), numBodies);

            using (var actualSimulatorModule = new GpuDynamicSimulatorModule(target))
            {
                Common.Test(expectedSimulator, actualSimulatorModule.Create(128), numBodies);
                Common.Test(expectedSimulator, actualSimulatorModule.Create(512), numBodies);
            }
        }
 public static void Correctness256()
 {
     var target = GPUModuleTarget.DefaultWorker;
     const int numBodies = 256*56;
     var expectedSimulator = new CpuSimulator(target.GetWorker(), numBodies);
     using (var actualSimulator = new GpuStaticSimulatorModule(target, 256))
     {
         Common.Test(expectedSimulator, actualSimulator, numBodies);
     }
 }
 public static void Correctness()
 {
     var target = GPUModuleTarget.DefaultWorker;
     const int numBodies = 256*56;
     var expectedSimulator = new CpuSimulator(target.GetWorker(), numBodies);
     using (var actualSimulatorModule = new GpuDynamicSimulatorModule(target))
     {
         Common.Test(expectedSimulator, actualSimulatorModule.Create(128), numBodies);
         Common.Test(expectedSimulator, actualSimulatorModule.Create(512), numBodies);
     }
 }