FK20 CUDA
frtest_addsub.cu File Reference
#include "fr.cuh"
#include "frtest.cuh"
Include dependency graph for frtest_addsub.cu:

Go to the source code of this file.

Macros

#define ITER   5
 

Functions

__global__ void FrTestAddSub (testval_t *testval)
 Test for the fr_addsub kernel. More...
 

Macro Definition Documentation

◆ ITER

#define ITER   5

Definition at line 8 of file frtest_addsub.cu.

Function Documentation

◆ FrTestAddSub()

__global__ void FrTestAddSub ( testval_t testval)

Test for the fr_addsub kernel.

Tests using the following properties:

f(x,y) = (x+y,x-y) f(f(x,y)) = (2x, 2y)

Parameters
testval
Returns
void

Definition at line 21 of file frtest_addsub.cu.

Here is the caller graph for this function: