From 9449156e6d95a672ba3c08f9d7d71bbb75f1a311 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 17 Jan 2018 23:12:31 +0000
Subject: [PATCH] Added test-compile with: LIBSO=1 GPU=0 CUDNN=0 OPENCV=0 -j 8
---
src/cuda.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/cuda.c b/src/cuda.c
index f168e4e..d8db851 100644
--- a/src/cuda.c
+++ b/src/cuda.c
@@ -96,6 +96,7 @@
int i = cuda_get_device();
if(!init[i]) {
cublasCreate(&handle[i]);
+ cublasStatus_t status = cublasSetStream(handle[i], get_cuda_stream());
init[i] = 1;
}
return handle[i];
--
Gitblit v1.10.0