Package org.apfloat.aparapi
Class LongAparapiNTTBuilder
- java.lang.Object
-
- org.apfloat.internal.AbstractNTTBuilder
-
- org.apfloat.internal.LongNTTBuilder
-
- org.apfloat.aparapi.LongAparapiNTTBuilder
-
- All Implemented Interfaces:
NTTBuilder
public class LongAparapiNTTBuilder extends LongNTTBuilder
NTT Builder for aparapi transform implementations for thelong
element type.- Since:
- 1.8.3
- Version:
- 1.8.3
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MIN_GPU_LENGTH
-
Constructor Summary
Constructors Constructor Description LongAparapiNTTBuilder()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NTTStrategy
createFactor3NTTStrategy(long size, NTTStrategy nttStrategy)
Create a factor-3 NTT strategy on top of another NTT strategy.protected NTTStrategy
createSixStepFNTStrategy(long size)
Create a six-step NTT strategy.protected NTTStrategy
createTwoPassFNTStrategy(long size)
Create a two-pass NTT strategy.-
Methods inherited from class org.apfloat.internal.LongNTTBuilder
createFactor3NTTSteps, createNTTConvolutionSteps, createNTTSteps, createSimpleFNTStrategy
-
Methods inherited from class org.apfloat.internal.AbstractNTTBuilder
createNTT
-
-
-
-
Field Detail
-
MIN_GPU_LENGTH
private static final int MIN_GPU_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSixStepFNTStrategy
protected NTTStrategy createSixStepFNTStrategy(long size)
Description copied from class:AbstractNTTBuilder
Create a six-step NTT strategy.- Overrides:
createSixStepFNTStrategy
in classAbstractNTTBuilder
- Parameters:
size
- The transform length that will be used.- Returns:
- A new six-step NTT strategy.
-
createTwoPassFNTStrategy
protected NTTStrategy createTwoPassFNTStrategy(long size)
Description copied from class:AbstractNTTBuilder
Create a two-pass NTT strategy.- Overrides:
createTwoPassFNTStrategy
in classAbstractNTTBuilder
- Parameters:
size
- The transform length that will be used.- Returns:
- A new two-pass NTT strategy.
-
createFactor3NTTStrategy
protected NTTStrategy createFactor3NTTStrategy(long size, NTTStrategy nttStrategy)
Description copied from class:AbstractNTTBuilder
Create a factor-3 NTT strategy on top of another NTT strategy.- Overrides:
createFactor3NTTStrategy
in classAbstractNTTBuilder
- Parameters:
size
- The transform length that will be used.nttStrategy
- The underlying factor-2 NTT strategy.- Returns:
- A new factor-3 NTT strategy.
-
-