From 51d608d24f09d6b0ad2d60008f09646dbf79ee60 Mon Sep 17 00:00:00 2001 From: "Youssif, Daniel" Date: Wed, 19 Apr 2023 17:08:21 -0700 Subject: [PATCH] gpu: ocl: conv: dw: wrap continue stmt in macro --- src/gpu/ocl/gen9_conv_dw_fwd_data.cl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gpu/ocl/gen9_conv_dw_fwd_data.cl b/src/gpu/ocl/gen9_conv_dw_fwd_data.cl index ea05da7319a..b617fe92bbe 100644 --- a/src/gpu/ocl/gen9_conv_dw_fwd_data.cl +++ b/src/gpu/ocl/gen9_conv_dw_fwd_data.cl @@ -1,5 +1,5 @@ /******************************************************************************* -* Copyright 2019-2021 Intel Corporation +* Copyright 2019-2023 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -277,7 +277,9 @@ gen9_conv_dw_fwd(const __global DATA_T *src, const __global DATA_T *wei, S02 = DATA_ZERO; S03 = DATA_ZERO; #endif +#if KH != 1 || KW != 1 || KD != 1 continue; +#endif } DATA8_T A0 = AS_DATA8_T( BLOCK_READ8((const __global BLOCK_DATA_T *)(src1)));