Skip to content

Commit

Permalink
gpu: ocl: remove unnecessary ref_eltwise KERNEL_ATTR
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoursler authored and vpirogov committed May 12, 2023
1 parent 161d2b6 commit 36bf079
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gpu/ocl/ref_eltwise.cl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
OFF_MD(DIFF_DATA, x0, x1, x2, x3, x4, x5)

#if IS_FWD
KERNEL_ATTR
__kernel void ref_eltwise_fwd(__global DATA_T *src, __global DATA_T *dst,
float alpha, float beta POST_OP_ARGS) {
#if USE_GWS_GET
Expand Down Expand Up @@ -81,7 +80,6 @@ __kernel void ref_eltwise_fwd(__global DATA_T *src, __global DATA_T *dst,

#if DT_F32 == 1 || DT_BF16 == 1

KERNEL_ATTR
__kernel void ref_eltwise_bwd(__global DATA_T *src, __global DATA_T *diff_src,
__global DATA_T *diff_dst, float alpha, float beta) {

Expand Down

0 comments on commit 36bf079

Please sign in to comment.