Joseph Redmon
2015-03-06 2313a8eb54d703323279c0fb9b2c9c52d26f0cf9
src/cuda.h
@@ -1,13 +1,15 @@
#ifndef CUDA_H
#define CUDA_H
extern int gpu_index;
#ifdef GPU
#define BLOCK 256
#include "cuda_runtime.h"
#include "cublas_v2.h"
extern int gpu_index;
void check_error(cudaError_t status);
cublasHandle_t blas_handle();
float *cuda_make_array(float *x, int n);
@@ -19,3 +21,4 @@
dim3 cuda_gridsize(size_t n);
#endif
#endif