8 void check_error(cudaError_t status);
9 cublasHandle_t blas_handle();
10 int *cuda_make_int_array(
int *x,
size_t n);
11 void cuda_random(
float *x_gpu,
size_t n);
12 float cuda_compare(
float *x_gpu,
float *x,
size_t n,
char *s);
13 dim3 cuda_gridsize(
size_t n);
16 cudnnHandle_t cudnn_handle();