From cb1f33c6ae840e8dc0f43518daf76e6ed01034f0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 08 Dec 2014 19:48:57 +0000
Subject: [PATCH] Fixed race condition in server
---
src/im2col.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/im2col.c b/src/im2col.c
index 18e6c0e..2af13e9 100644
--- a/src/im2col.c
+++ b/src/im2col.c
@@ -75,7 +75,6 @@
int channels, int height, int width,
int ksize, int stride, int pad, cl_mem data_col)
{
- cl_setup();
int height_col = (height - ksize) / stride + 1;
int width_col = (width - ksize) / stride + 1;
@@ -113,7 +112,6 @@
int channels, int height, int width,
int ksize, int stride, int pad, float *data_col)
{
- cl_setup();
cl_context context = cl.context;
cl_command_queue queue = cl.queue;
--
Gitblit v1.10.0