summaryrefslogtreecommitdiff
path: root/src/kernels/levelx/im2col.opencl
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-12-09 20:44:21 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-12-09 20:44:21 +0100
commit9f02fb542ca659bf58d1efefdb334ea386ef10e8 (patch)
tree8669e215f38e8b00a4ee73a436479207f2afdbf5 /src/kernels/levelx/im2col.opencl
parentca5dbcd2bd31fb0a0e3f6c2f81b3c0fff6250738 (diff)
Completed kernel modifications for pre-processor of all other kernels
Diffstat (limited to 'src/kernels/levelx/im2col.opencl')
-rw-r--r--src/kernels/levelx/im2col.opencl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernels/levelx/im2col.opencl b/src/kernels/levelx/im2col.opencl
index e7f69420..301e076b 100644
--- a/src/kernels/levelx/im2col.opencl
+++ b/src/kernels/levelx/im2col.opencl
@@ -41,9 +41,7 @@ void im2col(const int input_h, const int input_w, const int channels,
const int c_id = ((int)get_global_id(1)) / output_h; // input channels
if (h_id < output_h && w_id < output_w && c_id < channels) {
- #pragma unroll
for (int kh_id = 0; kh_id < kernel_h; ++kh_id) { // kernel height
- #pragma unroll
for (int kw_id = 0; kw_id < kernel_w; ++kw_id) { // kernel width
// Retrieves the input value