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

Go to the source code of this file.

Macros

#define ITER   100
 

Functions

__global__ void FpTestMulConst (testval_t *testval)
 Test self consistency in multiplication by constant: More...
 

Macro Definition Documentation

◆ ITER

#define ITER   100

Definition at line 8 of file fptest_mulconst.cu.

Function Documentation

◆ FpTestMulConst()

__global__ void FpTestMulConst ( testval_t testval)

Test self consistency in multiplication by constant:

2(4x) = =8x 2(2(2(2(2(2x))))) == 4(4(4x)) == 8(8x) 3(4x) == 12(x) 3(3(3(2(4(8x))))) == 12(12(12x))

Parameters
testval
Returns
void

Definition at line 21 of file fptest_mulconst.cu.

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