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

Go to the source code of this file.

Functions

__global__ void FpTestCommutativeMul (testval_t *testval)
 Test for the commutative property of addition. More...
 
__global__ void FpTestAssociativeMul (testval_t *testval)
 Test for the associative property of multiplication. More...
 
__global__ void FpTestMul (testval_t *testval)
 Multiplication test, comparing with the native uint64_t multiplication. More...
 

Function Documentation

◆ FpTestAssociativeMul()

__global__ void FpTestAssociativeMul ( testval_t testval)

Test for the associative property of multiplication.

(x*y)*z == x*(y*z)

Parameters
testval
Returns
void

Definition at line 60 of file fptest_mul.cu.

Here is the caller graph for this function:

◆ FpTestCommutativeMul()

__global__ void FpTestCommutativeMul ( testval_t testval)

Test for the commutative property of addition.

x*y == y*x

Parameters
testval
Returns
void

Definition at line 16 of file fptest_mul.cu.

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

◆ FpTestMul()

__global__ void FpTestMul ( testval_t testval)

Multiplication test, comparing with the native uint64_t multiplication.

(x*y)*z == x*(y*z)

Parameters
testval
Returns
void

Definition at line 109 of file fptest_mul.cu.

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