Packages

o

com.nvidia.spark.rapids

GpuBatchUtils

object GpuBatchUtils

Utility class with methods for calculating various metrics about GPU memory usage prior to allocation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuBatchUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val OFFSET_BYTES: Int

    Number of bytes per offset (32 bit)

  5. val VALIDITY_BUFFER_BOUNDARY_BYTES: Int

    Validity buffers are 64 byte aligned

  6. val VALIDITY_BUFFER_BOUNDARY_ROWS: Int

    Validity buffers are 64 byte aligned and each byte represents 8 rows

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def calculateOffsetBufferSize(rows: Long): Long
  9. def calculateValidityBufferSize(rows: Long): Long
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def estimateGpuMemory(dataType: DataType, nullable: Boolean, rowCount: Long): Long
  14. def estimateGpuMemory(schema: StructType, columnIndex: Int, rowCount: Long): Long

    Estimate the amount of GPU memory a batch of rows will occupy once converted

  15. def estimateGpuMemory(schema: StructType, rowCount: Long): Long

    Estimate the amount of GPU memory a batch of rows will occupy once converted

  16. def estimateRowCount(desiredBatchSizeBytes: Long, currentBatchSize: Long, currentBatchRowCount: Long): Int

    Estimate the number of rows required to meet a batch size limit

  17. def generateSplitIndices(rows: Long, numSplits: Int): Array[Int]

    Generate indices which evenly splitting input batch

    Generate indices which evenly splitting input batch

    rows

    number of rows of input batch

    numSplits

    desired number of splits

    returns

    splitting indices

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def isFixedWidth(dt: DataType): Boolean
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isVariableWidth(dt: DataType): Boolean
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped