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