FK20 CUDA
All Data Structures Namespaces Files Functions Variables Typedefs Macros
fr_add.cu File Reference
#include "fr.cuh"
#include "fr_add.cuh"
Include dependency graph for fr_add.cu:

Go to the source code of this file.

Functions

__device__ void fr_add (fr_t &z, const fr_t &x)
 Computes the sum of two residues x and z modulo r and stores it in z. Device only function. More...
 

Function Documentation

◆ fr_add()

__device__ void fr_add ( fr_t z,
const fr_t x 
)

Computes the sum of two residues x and z modulo r and stores it in z. Device only function.

Parameters
[in,out]z
[in]x
Returns
void

Definition at line 16 of file fr_add.cu.

Here is the caller graph for this function: