コード例 #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();
 }
コード例 #2
0
 internal RadixSortPairsProvider(
     Accelerator accelerator,
     RadixSortPairsProviderImplementation implementation)
     : base(accelerator)
 {
     bufferCache         = new MemoryBufferCache(Accelerator);
     this.implementation = implementation;
 }