FK20 CUDA
fk20_poly2toeplitz_coefficients.cu File Reference
#include "fr.cuh"
#include "g1.cuh"
#include "fk20.cuh"
Include dependency graph for fk20_poly2toeplitz_coefficients.cu:

Go to the source code of this file.

Functions

__global__ void fk20_poly2toeplitz_coefficients (fr_t *toeplitz_coefficients, const fr_t *polynomial)
 polynomial -> toeplitz_coefficients More...
 

Function Documentation

◆ fk20_poly2toeplitz_coefficients()

__global__ void fk20_poly2toeplitz_coefficients ( fr_t toeplitz_coefficients,
const fr_t polynomial 
)

polynomial -> toeplitz_coefficients

Parameters
[out]toeplitz_coefficientsarray with dimension [4096 * gridDim.x]
[in]polynomialarray with dimensions [rows * 16 * 512]
Returns
void

Grid must be 1-D, 256 threads per block.

IMPORTANT: This function does not need shared memory. Making the kernel call with a dynamic shared memory allocation is known to cause some subtle bugs, that not always show during normal execution. Similar comment is present in fk20test_poly.cu and fk20_512test_poly.cu. In case this function changes and starts needing shared memory, correct the tests on those two files.

Definition at line 23 of file fk20_poly2toeplitz_coefficients.cu.

Here is the call graph for this function: