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