FK20 CUDA
fk20test.cu File Reference
#include "g1.cuh"
#include "fk20.cuh"
#include "fk20test.cuh"
#include "fk20_testvector.cuh"
Include dependency graph for fk20test.cu:

Go to the source code of this file.

Functions

int main ()
 
void varMangle (fr_t *target, size_t size, unsigned step)
 swap elements at positions multiple of step. Nondestructive, call a second time to undo the changes More...
 
void varMangle (g1p_t *target, size_t size, unsigned step)
 swap elements at positions multiple of step. Nondestructive, call a second time to undo the changes More...
 

Function Documentation

◆ main()

int main ( )

Definition at line 9 of file fk20test.cu.

Here is the call graph for this function:

◆ varMangle() [1/2]

void varMangle ( fr_t target,
size_t  size,
unsigned  step 
)

swap elements at positions multiple of step. Nondestructive, call a second time to undo the changes

Parameters
[out]targetPointer to array
[in]sizelength of the array
[in]stepdistance between elements swapped.

Definition at line 35 of file fk20test.cu.

◆ varMangle() [2/2]

void varMangle ( g1p_t target,
size_t  size,
unsigned  step 
)

swap elements at positions multiple of step. Nondestructive, call a second time to undo the changes

Parameters
[out]targetPointer to array
[in]sizelength of the array
[in]stepdistance between elements swapped.

Definition at line 57 of file fk20test.cu.