From d7d7da2653ff4f79a275529b0ac3fec438880083 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 27 Mar 2015 02:13:59 +0000
Subject: [PATCH] Fixed im2col mistake >< face#palm
---
src/col2im_kernels.cu | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/col2im_kernels.cu b/src/col2im_kernels.cu
index 76a86e6..67c0b03 100644
--- a/src/col2im_kernels.cu
+++ b/src/col2im_kernels.cu
@@ -37,9 +37,9 @@
}
}
-void col2im_ongpu(float *im,
+void col2im_ongpu(float *data_col,
int channels, int height, int width,
- int ksize, int stride, int pad, float *data_col){
+ int ksize, int stride, int pad, float *data_im){
// We are going to launch channels * height_col * width_col kernels, each
// kernel responsible for copying a single-channel grid.
pad = pad ? ksize/2 : 0;
@@ -50,7 +50,7 @@
BLOCK>>>(
num_kernels, data_col, height, width, ksize, pad,
stride, height_col,
- width_col, im);
+ width_col, data_im);
}
/*
--
Gitblit v1.10.0