From 0a8391e816be243f2d75b643d12778a0c5295455 Mon Sep 17 00:00:00 2001
From: AlexeyAB <kikots@mail.ru>
Date: Sun, 06 Aug 2017 19:21:46 +0000
Subject: [PATCH] Added to Makefile the path to include of cuDNN

---
 src/dropout_layer_kernels.cu |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/dropout_layer_kernels.cu b/src/dropout_layer_kernels.cu
index 231497d..7e51bd5 100644
--- a/src/dropout_layer_kernels.cu
+++ b/src/dropout_layer_kernels.cu
@@ -1,8 +1,11 @@
+#include "cuda_runtime.h"
+#include "curand.h"
+#include "cublas_v2.h"
+
 extern "C" {
 #include "dropout_layer.h"
 #include "cuda.h"
 #include "utils.h"
-#include "params.h"
 }
 
 __global__ void yoloswag420blazeit360noscope(float *input, int size, float *rand, float prob, float scale)
@@ -16,11 +19,13 @@
     if (!state.train) return;
     int size = layer.inputs*layer.batch;
     cuda_random(layer.rand_gpu, size);
+    /*
     int i;
     for(i = 0; i < size; ++i){
         layer.rand[i] = rand_uniform();
     }
     cuda_push_array(layer.rand_gpu, layer.rand, size);
+    */
 
     yoloswag420blazeit360noscope<<<cuda_gridsize(size), BLOCK>>>(state.input, size, layer.rand_gpu, layer.probability, layer.scale);
     check_error(cudaPeekAtLastError());

--
Gitblit v1.10.0