Package org.apfloat.aparapi
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.
-
ClassDescriptionSix-step NTT implementation that processes the data in the columns of the matrix.Two-pass NTT implementation that processes the data in the columns of the matrix.Factor-3 NTT strategy that can be decorated.Builder factory for aparapi transform implementations for the
intelement type.Six-step NTT implementation for theintelement type using column orientation.Two-pass NTT implementation for theintelement type using column orientation.Steps for the factor-3 NTT using the GPU, for theintelement type.Factor-3 NTT implementation for theintelement type.Matrix transposition in the GPU for theinttype.NTT Builder for aparapi transform implementations for theintelement type.NTT steps for theintelement type aparapi transforms.NTT strategy with decorator to set up the data for the GPU, for theintelement type.Six-step NTT implementation for theintelement type using row orientation.Two-pass NTT implementation for theintelement type using row orientation.Builder factory for aparapi transform implementations for thelongelement type.Six-step NTT implementation for thelongelement type using column orientation.Two-pass NTT implementation for thelongelement type using column orientation.Steps for the factor-3 NTT using the GPU, for thelongelement type.Factor-3 NTT implementation for thelongelement type.Matrix transposition in the GPU for thelongtype.NTT Builder for aparapi transform implementations for thelongelement type.NTT steps for thelongelement type aparapi transforms.NTT strategy with decorator to set up the data for the GPU, for thelongelement type.Six-step NTT implementation for thelongelement type using row orientation.Two-pass NTT implementation for thelongelement type using row orientation.