File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/library/blas/gens/clTemplates Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ __kernel void %PREFIXger_C_kernel( __global %TYPE const* restrict _X, __global %
52
52
}
53
53
54
54
// create local memory
55
- __local %TYPE localX [ BH * %V ];
55
+ __local %TYPE %V localXV [ BH ];
56
+ __local %TYPE * localX = (__local %TYPE * )localXV ;
56
57
__local %TYPE localY [ BW ];
57
58
58
59
uint lID = get_local_id ( 0 );
@@ -193,7 +194,8 @@ __kernel void %PREFIXger_R_kernel( __global %TYPE const* restrict _X, __global %
193
194
}
194
195
195
196
__local %TYPE localX [ BH ];
196
- __local %TYPE localY [ BW * %V ];
197
+ __local %TYPE %V localYV [ BW ];
198
+ __local %TYPE * localY = (__local %TYPE * )localYV ;
197
199
198
200
uint lID = get_local_id ( 0 );
199
201
uint gID = get_group_id ( 0 );
You can’t perform that action at this time.
0 commit comments