AlexeyAB
2018-03-19 537d135feba179636e9bbfe296e078d51f59914c
src/cuda.h
@@ -19,6 +19,9 @@
#include "cudnn.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
void check_error(cudaError_t status);
cublasHandle_t blas_handle();
float *cuda_make_array(float *x, size_t n);
@@ -32,6 +35,9 @@
float cuda_compare(float *x_gpu, float *x, size_t n, char *s);
dim3 cuda_gridsize(size_t n);
cudaStream_t get_cuda_stream();
#ifdef __cplusplus
}
#endif
#ifdef CUDNN
cudnnHandle_t cudnn_handle();