From 192135106f090182e08d9ad134cb0e4668c3eb6e Mon Sep 17 00:00:00 2001 From: stereomatchingkiss <thamngapwei@gmail.com> Date: Sat, 03 Feb 2018 10:30:42 +0000 Subject: [PATCH] fix bug 368 --- src/cuda.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/cuda.h b/src/cuda.h index 31f9092..31577ff 100644 --- a/src/cuda.h +++ b/src/cuda.h @@ -26,6 +26,7 @@ void cuda_push_array(float *x_gpu, float *x, size_t n); void cuda_pull_array(float *x_gpu, float *x, size_t n); void cuda_set_device(int n); +int cuda_get_device(); void cuda_free(float *x_gpu); void cuda_random(float *x_gpu, size_t n); float cuda_compare(float *x_gpu, float *x, size_t n, char *s); -- Gitblit v1.10.0