Functions | Variables
cuda_common.h File Reference
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <iostream>
Include dependency graph for cuda_common.h:

Go to the source code of this file.

Functions

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)
 

Variables

dim3 blockDim
 
dim3 blockIdx
 
dim3 threadIdx
 

Function Documentation

void ei_test_init_cuda ( )

Definition at line 83 of file cuda_common.h.

template<typename Kernel , typename Input , typename Output >
void run_and_compare_to_cuda ( const Kernel &  ker,
int  n,
const Input &  in,
Output &  out 
)

Definition at line 66 of file cuda_common.h.

template<typename Kernel , typename Input , typename Output >
void run_on_cpu ( const Kernel &  ker,
int  n,
const Input &  in,
Output &  out 
)

Definition at line 15 of file cuda_common.h.

template<typename Kernel , typename Input , typename Output >
void run_on_cuda ( const Kernel &  ker,
int  n,
const Input &  in,
Output &  out 
)

Definition at line 34 of file cuda_common.h.

template<typename Kernel , typename Input , typename Output >
__global__ void run_on_cuda_meta_kernel ( const Kernel  ker,
int  n,
const Input *  in,
Output *  out 
)

Definition at line 24 of file cuda_common.h.

Variable Documentation

dim3 blockDim

Definition at line 11 of file cuda_common.h.

dim3 blockIdx

Definition at line 11 of file cuda_common.h.

dim3 threadIdx

Definition at line 11 of file cuda_common.h.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:28