#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <iostream>
Go to the source code of this file.
|
void | ei_test_init_cuda () |
|
template<typename Kernel , typename Input , typename Output > |
void | run_and_compare_to_cuda (const Kernel &ker, int n, const Input &in, Output &out) |
|
template<typename Kernel , typename Input , typename Output > |
void | run_on_cpu (const Kernel &ker, int n, const Input &in, Output &out) |
|
template<typename Kernel , typename Input , typename Output > |
void | run_on_cuda (const Kernel &ker, int n, const Input &in, Output &out) |
|
template<typename Kernel , typename Input , typename Output > |
__global__ void | run_on_cuda_meta_kernel (const Kernel ker, int n, const Input *in, Output *out) |
|
void ei_test_init_cuda |
( |
| ) |
|
template<typename Kernel , typename Input , typename Output >
void run_and_compare_to_cuda |
( |
const Kernel & |
ker, |
|
|
int |
n, |
|
|
const Input & |
in, |
|
|
Output & |
out |
|
) |
| |
template<typename Kernel , typename Input , typename Output >
void run_on_cpu |
( |
const Kernel & |
ker, |
|
|
int |
n, |
|
|
const Input & |
in, |
|
|
Output & |
out |
|
) |
| |
template<typename Kernel , typename Input , typename Output >
void run_on_cuda |
( |
const Kernel & |
ker, |
|
|
int |
n, |
|
|
const Input & |
in, |
|
|
Output & |
out |
|
) |
| |
template<typename Kernel , typename Input , typename Output >
__global__ void run_on_cuda_meta_kernel |
( |
const Kernel |
ker, |
|
|
int |
n, |
|
|
const Input * |
in, |
|
|
Output * |
out |
|
) |
| |