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.
-
ClassesClassDescriptionSix-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.Builder factory for aparapi transform implementations for the
intelement type.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.Six-step NTT implementation for theintelement type.Builder factory for aparapi transform implementations for thelongelement type.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.Six-step NTT implementation for thelongelement type.