#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "g1.cuh"
#include "g1test.cuh"
Go to the source code of this file.
◆ TEST
Value: start = clock(); \
X <<<grid,block>>> (&
testval[0]); \
err = cudaDeviceSynchronize(); \
end = clock(); \
if (err != cudaSuccess) printf("Error %d (%s)\n", err, cudaGetErrorName(err)); \
printf(" (%.2f s)\n", (end - start) * (1.0 / CLOCKS_PER_SEC));
__managed__ testval_t testval[TESTVALS]
Definition at line 42 of file g1test.cu.
◆ init()
initialization
Definition at line 22 of file g1test.cu.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Test for points in G1.
- Parameters
-
- Returns
- int
Definition at line 59 of file g1test.cu.
◆ testval