From 5291935b70c21ddbbc7bbd592f87921cb1f8a2ff Mon Sep 17 00:00:00 2001
From: IlyaOvodov <b@ovdv.ru>
Date: Mon, 04 Jun 2018 15:56:23 +0000
Subject: [PATCH] Net color depth is exposed from Detector class
---
src/activation_kernels.cu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/activation_kernels.cu b/src/activation_kernels.cu
index 994e206..d5f25a0 100644
--- a/src/activation_kernels.cu
+++ b/src/activation_kernels.cu
@@ -154,7 +154,7 @@
extern "C" void activate_array_ongpu(float *x, int n, ACTIVATION a)
{
- activate_array_kernel<<<cuda_gridsize(n), BLOCK>>>(x, n, a);
+ activate_array_kernel<<<cuda_gridsize(n), BLOCK, 0, get_cuda_stream()>>>(x, n, a);
check_error(cudaPeekAtLastError());
}
--
Gitblit v1.10.0