@@ -14,9 +14,9 @@ __kernel void cai_dot_product
1414 const int FNumBs ,
1515 const int FSize ,
1616 int ActFN ,
17- __global __read_only float * FInputBufferAs ,
18- __global __read_only float * FInputBufferBs ,
19- __global float * FResultBuffer
17+ __global float * FInputBufferAs ,
18+ __global float * FInputBufferBs ,
19+ __global float * FResultBuffer
2020)
2121{
2222 const int a_id = get_global_id (0 );
@@ -118,9 +118,9 @@ __kernel void cai_dot_product2
118118 const int FNumBs ,
119119 const int FSize ,
120120 int ActFN ,
121- __global __read_only float * FInputBufferAs ,
122- __global __read_only float * FInputBufferBs ,
123- __global float * FResultBuffer
121+ __global float * FInputBufferAs ,
122+ __global float * FInputBufferBs ,
123+ __global float * FResultBuffer
124124)
125125{
126126 const int a_id = get_global_id (0 );
@@ -252,8 +252,8 @@ __kernel void simpleGEMMT(
252252 const int FThreadCount ,
253253 const int M , const int N , const int K ,
254254 int ActFN ,
255- __global __read_only float * A ,
256- __global __read_only float * B ,
255+ __global float * A ,
256+ __global float * B ,
257257 __global float * C ) {
258258
259259 // Thread identifiers
@@ -304,8 +304,8 @@ __kernel void cai_dot_product_simple
304304 const int FNumBs ,
305305 const int FSize ,
306306 int ActFN ,
307- __global __read_only float16 * FInputBufferAs ,
308- __global __read_only float16 * FInputBufferBs ,
307+ __global float16 * FInputBufferAs ,
308+ __global float16 * FInputBufferBs ,
309309 __global float * FResultBuffer
310310)
311311{
@@ -355,8 +355,8 @@ __kernel void myGEMM5(
355355 const int FThreadCount ,
356356 const int M , const int N , const int K ,
357357 int ActFN ,
358- __global __read_only float * A ,
359- __global __read_only float * B ,
358+ __global float * A ,
359+ __global float * B ,
360360 __global float * C ) {
361361
362362 // Thread identifiers
@@ -423,8 +423,8 @@ __kernel void myGEMM6(
423423 const int FThreadCount ,
424424 const int M , const int N , const int K ,
425425 int ActFN ,
426- __global __read_only float * A ,
427- __global __read_only float * B ,
426+ __global float * A ,
427+ __global float * B ,
428428 __global float * C ) {
429429 // Thread identifiers
430430 const int tidm = get_local_id (0 ); // Local row ID (max: TSM/WPTM)
0 commit comments