Esempio 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();
 }
Esempio n. 2
0
 internal ScanProvider(Accelerator accelerator, ScanProviderImplementation implementation)
     : base(accelerator)
 {
     bufferCache         = new MemoryBufferCache(Accelerator);
     this.implementation = implementation;
 }