FK20 CUDA
fptest_add.cu File Reference
#include "fp.cuh"
#include "fptest.cuh"
Include dependency graph for fptest_add.cu:

Go to the source code of this file.

Functions

__global__ void FpTestAdd (testval_t *testval)
 Test for addition in Fp. More...
 
__global__ void FpTestCommutativeAdd (testval_t *testval)
 Test for the commutative property of addition in Fp. More...
 
__global__ void FpTestAssociativeAdd (testval_t *testval)
 Test for the associative property of addition in Fp. More...
 

Function Documentation

◆ FpTestAdd()

__global__ void FpTestAdd ( testval_t testval)

Test for addition in Fp.

2x + x == 3x

Parameters
testval
Returns
void

Definition at line 16 of file fptest_add.cu.

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

◆ FpTestAssociativeAdd()

__global__ void FpTestAssociativeAdd ( testval_t testval)

Test for the associative property of addition in Fp.

(x+y)+z == x+(y+z)

Parameters
testval
Returns
void

Definition at line 101 of file fptest_add.cu.

Here is the caller graph for this function:

◆ FpTestCommutativeAdd()

__global__ void FpTestCommutativeAdd ( testval_t testval)

Test for the commutative property of addition in Fp.

x+y == y+x

Parameters
testval
Returns
void

Definition at line 59 of file fptest_add.cu.

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