FK20 CUDA
frtest.cuh File Reference
#include <stdio.h>
#include "test.h"
#include "fr.cuh"
Include dependency graph for frtest.cuh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FR_TEST_CUH
 
#define TESTVALS   768
 
#define TESTFUN(X)   extern __global__ void X(testval_t *testval)
 

Typedefs

typedef fr_t testval_t
 

Functions

void FrTestFFT ()
 Tests fft and inverse fft over Fr using KAT. More...
 
 TESTFUN (FrTestKAT)
 
 TESTFUN (FrTestFibonacci)
 
 TESTFUN (FrTestCmp)
 
 TESTFUN (FrTestMulConst)
 
 TESTFUN (FrTestSub)
 
 TESTFUN (FrTestAddSub)
 
 TESTFUN (FrTestCopy)
 
 TESTFUN (FrTestReflexivity)
 
 TESTFUN (FrTestSymmetry)
 
 TESTFUN (FrTestAdditiveIdentity)
 
 TESTFUN (FrTestMultiplicativeIdentity)
 
 TESTFUN (FrTestAdditiveInverse)
 
 TESTFUN (FrTestMultiplicativeInverse)
 
 TESTFUN (FrTestCommutativeAdd)
 
 TESTFUN (FrTestCommutativeMul)
 
 TESTFUN (FrTestAssociativeAdd)
 
 TESTFUN (FrTestAssociativeMul)
 
 TESTFUN (FrTestAddDistributiveLeft)
 
 TESTFUN (FrTestAddDistributiveRight)
 
 TESTFUN (FrTestSubDistributiveLeft)
 
 TESTFUN (FrTestSubDistributiveRight)
 
 TESTFUN (FrTestDouble)
 
 TESTFUN (FrTestSquare)
 

Macro Definition Documentation

◆ FR_TEST_CUH

#define FR_TEST_CUH

Definition at line 6 of file frtest.cuh.

◆ TESTFUN

#define TESTFUN (   X)    extern __global__ void X(testval_t *testval)

Definition at line 25 of file frtest.cuh.

◆ TESTVALS

#define TESTVALS   768

Definition at line 13 of file frtest.cuh.

Typedef Documentation

◆ testval_t

typedef fr_t testval_t

Definition at line 20 of file frtest.cuh.

Function Documentation

◆ FrTestFFT()

void FrTestFFT ( )

Tests fft and inverse fft over Fr using KAT.

Definition at line 17 of file frtest_fft.cu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TESTFUN() [1/23]

◆ TESTFUN() [2/23]

◆ TESTFUN() [3/23]

TESTFUN ( FrTestAdditiveIdentity  )

◆ TESTFUN() [4/23]

TESTFUN ( FrTestAdditiveInverse  )

◆ TESTFUN() [5/23]

TESTFUN ( FrTestAddSub  )

◆ TESTFUN() [6/23]

TESTFUN ( FrTestAssociativeAdd  )

◆ TESTFUN() [7/23]

TESTFUN ( FrTestAssociativeMul  )

◆ TESTFUN() [8/23]

TESTFUN ( FrTestCmp  )

◆ TESTFUN() [9/23]

TESTFUN ( FrTestCommutativeAdd  )

◆ TESTFUN() [10/23]

TESTFUN ( FrTestCommutativeMul  )

◆ TESTFUN() [11/23]

TESTFUN ( FrTestCopy  )

◆ TESTFUN() [12/23]

TESTFUN ( FrTestDouble  )

◆ TESTFUN() [13/23]

TESTFUN ( FrTestFibonacci  )

◆ TESTFUN() [14/23]

TESTFUN ( FrTestKAT  )

◆ TESTFUN() [15/23]

TESTFUN ( FrTestMulConst  )

◆ TESTFUN() [16/23]

TESTFUN ( FrTestMultiplicativeIdentity  )

◆ TESTFUN() [17/23]

TESTFUN ( FrTestMultiplicativeInverse  )

◆ TESTFUN() [18/23]

TESTFUN ( FrTestReflexivity  )

◆ TESTFUN() [19/23]

TESTFUN ( FrTestSquare  )

◆ TESTFUN() [20/23]

TESTFUN ( FrTestSub  )

◆ TESTFUN() [21/23]

◆ TESTFUN() [22/23]

◆ TESTFUN() [23/23]

TESTFUN ( FrTestSymmetry  )