Uses of Class
ai.rapids.cudf.BaseDeviceMemoryBuffer
Packages that use BaseDeviceMemoryBuffer
-
Uses of BaseDeviceMemoryBuffer in ai.rapids.cudf
Subclasses of BaseDeviceMemoryBuffer in ai.rapids.cudfModifier and TypeClassDescriptionclassThis class represents data allocated using `cudaMalloc` directly instead of the default RMM memory resource.final classRepresents a cuFile buffer.classThis class represents data in some form on the GPU.classThis class represents data in some form on the GPU.Methods in ai.rapids.cudf that return BaseDeviceMemoryBufferModifier and TypeMethodDescriptionColumnVector.OffHeapState.getData()final BaseDeviceMemoryBufferColumnView.getData()Gets the data buffer for the current column view (viewHandle).ColumnVector.getDeviceBufferFor(BufferType type) Get access to the raw device buffer for this column.ColumnVector.OffHeapState.getOffsets()final BaseDeviceMemoryBufferColumnView.getOffsets()ColumnVector.OffHeapState.getValid()final BaseDeviceMemoryBufferColumnView.getValid()Methods in ai.rapids.cudf with parameters of type BaseDeviceMemoryBufferModifier and TypeMethodDescriptionstatic longCuFile.appendDeviceBufferToFile(File path, BaseDeviceMemoryBuffer buffer) Append a device buffer to a given file path synchronously.final voidHostMemoryBuffer.copyFromDeviceBuffer(BaseDeviceMemoryBuffer deviceMemoryBuffer) Synchronously copy from a DeviceMemoryBuffer to a HostMemoryBufferfinal voidHostMemoryBuffer.copyFromDeviceBuffer(BaseDeviceMemoryBuffer deviceMemoryBuffer, Cuda.Stream stream) Copy from a DeviceMemoryBuffer to a HostMemoryBuffer using the specified stream.final voidBaseDeviceMemoryBuffer.copyFromDeviceBufferAsync(long destOffset, BaseDeviceMemoryBuffer src, long srcOffset, long length, Cuda.Stream stream) Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.final voidHostMemoryBuffer.copyFromDeviceBufferAsync(BaseDeviceMemoryBuffer deviceMemoryBuffer, Cuda.Stream stream) Copy from a DeviceMemoryBuffer to a HostMemoryBuffer using the specified stream.static ColumnViewColumnView.fromDeviceBuffer(BaseDeviceMemoryBuffer buffer, long startOffset, DType type, int rows) Create a new column view from a raw device buffer.static voidCuFile.readFileToDeviceBuffer(BaseDeviceMemoryBuffer buffer, File path, long fileOffset) Read a file into a device buffer synchronously.static voidCuFile.writeDeviceBufferToFile(File path, long file_offset, BaseDeviceMemoryBuffer buffer) Write a device buffer to a given file path synchronously.Constructors in ai.rapids.cudf with parameters of type BaseDeviceMemoryBufferModifierConstructorDescriptionColumnView(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer dataBuffer, BaseDeviceMemoryBuffer validityBuffer) Create a new column view based off of data already on the device.ColumnView(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer dataBuffer, BaseDeviceMemoryBuffer validityBuffer, BaseDeviceMemoryBuffer offsetBuffer) Create a new column view based off of data already on the device.ColumnView(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer validityBuffer, BaseDeviceMemoryBuffer offsetBuffer, ColumnView[] children) Create a new column view based off of data already on the device. -
Uses of BaseDeviceMemoryBuffer in ai.rapids.cudf.nvcomp
Methods in ai.rapids.cudf.nvcomp with parameters of type BaseDeviceMemoryBufferModifier and TypeMethodDescriptionBatchedCompressor.compress(BaseDeviceMemoryBuffer[] origInputs, Cuda.Stream stream) Compress a batch of buffers.voidBatchedDecompressor.decompressAsync(BaseDeviceMemoryBuffer[] origInputs, BaseDeviceMemoryBuffer[] outputs, Cuda.Stream stream) Asynchronously decompress a batch of buffersstatic voidBatchedLZ4Decompressor.decompressAsync(long chunkSize, BaseDeviceMemoryBuffer[] origInputs, BaseDeviceMemoryBuffer[] outputs, Cuda.Stream stream) Asynchronously decompress a batch of buffers