Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new lightning context.
 /// </summary>
 /// <param name="accelerator">The associated accelerator.</param>
 private LightningContext(Accelerator accelerator)
     : base(accelerator)
 {
     scanImplementation           = Accelerator.CreateScanProviderImplementation();
     radixSortImplementation      = Accelerator.CreateRadixSortProviderImplementation();
     radixSortPairsImplementation = Accelerator.CreateRadixSortPairsProviderImplementation();
 }
 internal RadixSortPairsProvider(
     Accelerator accelerator,
     RadixSortPairsProviderImplementation implementation)
     : base(accelerator)
 {
     bufferCache         = new MemoryBufferCache(Accelerator);
     this.implementation = implementation;
 }