Package org.apfloat.aparapi
Transforms for using a GPU via the aparapi library.
This package contains Number-Theoretic Transform implementations that can use the GPU (Graphics Processing Unit) for executing the transforms. There is significant overhead in invoking the GPU, e.g. in transferring the data between the main memory and the GPU memory, so for small data sets there is usually no performance improvement, and in many cases performance can be even significantly slower. However for very large calculations, e.g. one billion digits, using the GPU can improve the performance noticeably, depending on the hardware used.
-
Class Summary Class Description ColumnSixStepFNTStrategy Six-step NTT implementation that processes the data in the columns of the matrix.ColumnTwoPassFNTStrategy Two-pass NTT implementation that processes the data in the columns of the matrix.IntAparapiBuilderFactory Builder factory for aparapi transform implementations for theint
element type.IntAparapiFactor3NTTStepStrategy Steps for the factor-3 NTT using the GPU, for theint
element type.IntAparapiFactor3NTTStrategy Factor-3 NTT implementation for theint
element type.IntAparapiMatrixStrategy Matrix transposition in the GPU for theint
type.IntAparapiNTTBuilder NTT Builder for aparapi transform implementations for theint
element type.IntAparapiNTTStepStrategy NTT steps for theint
element type aparapi transforms.IntAparapiSixStepFNTStrategy Six-step NTT implementation for theint
element type.IntKernel Kernel for theint
element type.LongAparapiBuilderFactory Builder factory for aparapi transform implementations for thelong
element type.LongAparapiFactor3NTTStepStrategy Steps for the factor-3 NTT using the GPU, for thelong
element type.LongAparapiFactor3NTTStrategy Factor-3 NTT implementation for thelong
element type.LongAparapiMatrixStrategy Matrix transposition in the GPU for thelong
type.LongAparapiNTTBuilder NTT Builder for aparapi transform implementations for thelong
element type.LongAparapiNTTStepStrategy NTT steps for thelong
element type aparapi transforms.LongAparapiSixStepFNTStrategy Six-step NTT implementation for thelong
element type.LongKernel Kernel for thelong
element type.RangeHelper Range helper methods.