#include <time.h>
#include <stdio.h>
#include "fr.cuh"
#include "g1.cuh"
#include "fk20.cuh"
Go to the source code of this file.
|
__global__ void | fk20_hext2h (g1p_t *h) |
| hext -> h Fill upper half of hext with inf, modifying in place. More...
|
|
__host__ void | fk20_poly2h_fft (g1p_t *h_fft, const fr_t *polynomial, const g1p_t xext_fft[8192], unsigned rows) |
| polynomial + xext_fft -> h_fft This function is a wrapper for the full FK20 computation, i.e. commits up to 512 polynomials of 4096 elements to the same setup. l = 16, intrinsic to the implementation. More...
|
|
◆ ROWS
◆ fk20_hext2h()
__global__ void fk20_hext2h |
( |
g1p_t * |
h | ) |
|
hext -> h Fill upper half of hext with inf, modifying in place.
- Parameters
-
- Returns
- void
Definition at line 27 of file fk20_poly2h_fft.cu.
◆ fk20_poly2h_fft()
__host__ void fk20_poly2h_fft |
( |
g1p_t * |
h_fft, |
|
|
const fr_t * |
polynomial, |
|
|
const g1p_t |
xext_fft[8192], |
|
|
unsigned |
rows |
|
) |
| |
polynomial + xext_fft -> h_fft This function is a wrapper for the full FK20 computation, i.e. commits up to 512 polynomials of 4096 elements to the same setup. l = 16, intrinsic to the implementation.
- Parameters
-
[out] | h_fft | array with dimensions [rows * 512] |
[in] | polynomial | array with dimensions [rows * 16 * 512] |
[in] | xext_fft | array with dimensions [16 * 512] |
[in] | rows | number of rows (gridDim.x) |
- Returns
- void
Definition at line 47 of file fk20_poly2h_fft.cu.