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 theintelement type.IntAparapiFactor3NTTStepStrategy Steps for the factor-3 NTT using the GPU, for theintelement type.IntAparapiFactor3NTTStrategy Factor-3 NTT implementation for theintelement type.IntAparapiMatrixStrategy Matrix transposition in the GPU for theinttype.IntAparapiNTTBuilder NTT Builder for aparapi transform implementations for theintelement type.IntAparapiNTTStepStrategy NTT steps for theintelement type aparapi transforms.IntAparapiSixStepFNTStrategy Six-step NTT implementation for theintelement type.IntKernel Kernel for theintelement type.LongAparapiBuilderFactory Builder factory for aparapi transform implementations for thelongelement type.LongAparapiFactor3NTTStepStrategy Steps for the factor-3 NTT using the GPU, for thelongelement type.LongAparapiFactor3NTTStrategy Factor-3 NTT implementation for thelongelement type.LongAparapiMatrixStrategy Matrix transposition in the GPU for thelongtype.LongAparapiNTTBuilder NTT Builder for aparapi transform implementations for thelongelement type.LongAparapiNTTStepStrategy NTT steps for thelongelement type aparapi transforms.LongAparapiSixStepFNTStrategy Six-step NTT implementation for thelongelement type.LongKernel Kernel for thelongelement type.RangeHelper Range helper methods.