"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 2: warning: OpenCL
extension is now part of core
pragma OPENCL EXTENSION cl_khr_fp64 : enable
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 54: warning: explicit
type is missing ("int" assumed)
const __global *restrict A,
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 55: warning: explicit
type is missing ("int" assumed)
const __global *restrict B,
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 56: warning: explicit
type is missing ("int" assumed)
__global *C,
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 149: warning: a value
of type "global int *" cannot be assigned to an entity of type
"global double "
uC.d = C + coord.y \ ldc + coord.x;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 151: warning:
explicit type is missing ("int" assumed)
__global *pC = uC.d0v;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 151: error: union
"GPtr" has no field "d0v"
__global *pC = uC.d0v;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 163: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[0] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 164: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[1] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 165: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[ldc] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 166: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[ldc + 1] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 176: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[(ldc << 1)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 177: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(2u, ldc, 1u)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 178: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(3u, ldc, 0u)] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 179: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(3u, ldc, 1u)] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 189: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[(ldc << 2)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 190: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(4u, ldc, 1u)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 191: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(5u, ldc, 0u)] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 192: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(5u, ldc, 1u)] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 202: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(6u, ldc, 0u)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 203: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(6u, ldc, 1u)] = tempC0;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 204: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(7u, ldc, 0u)] = tempC1;
^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 205: error: a value
of type "double2" cannot be assigned to an entity of type "int"
pC[mad24(7u, ldc, 1u)] = tempC1;
^
17 errors detected in the compilation of "C:\Users\DELL2\AppData\Local\Temp\OCLD
77D.tmp.cl".
Frontend phase failed compilation.
"
I don't have this output if I don't use the --store-kernels option
But I guess the same problem exists.
I ran the following command tune.exe --gemm --double --store-kernels
and got the following output :
attribute((reqd_work_group_size(32, 2, 1))) void kernel dgemmBlock( uint M, uint N, uint K, const double alpha, const double beta, const global restrict A, const global *restrict B, global *C, uint lda, uint ldb, uint ldc) { double2 a0; double2 b0, b1; double2 c0, c1, c2, c3, c4, c5, c6, c7; uint4 coord = 0u; / contains coordB, coordA, k */
}
Build log:
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 2: warning: OpenCL extension is now part of core
pragma OPENCL EXTENSION cl_khr_fp64 : enable
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 54: warning: explicit type is missing ("int" assumed) const __global *restrict A, ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 55: warning: explicit type is missing ("int" assumed) const __global *restrict B, ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 56: warning: explicit type is missing ("int" assumed) __global *C, ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 149: warning: a value of type "global int *" cannot be assigned to an entity of type "global double " uC.d = C + coord.y \ ldc + coord.x; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 151: warning: explicit type is missing ("int" assumed) __global *pC = uC.d0v; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 151: error: union "GPtr" has no field "d0v" __global *pC = uC.d0v; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 163: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[0] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 164: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[1] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 165: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[ldc] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 166: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[ldc + 1] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 176: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[(ldc << 1)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 177: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(2u, ldc, 1u)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 178: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(3u, ldc, 0u)] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 179: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(3u, ldc, 1u)] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 189: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[(ldc << 2)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 190: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(4u, ldc, 1u)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 191: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(5u, ldc, 0u)] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 192: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(5u, ldc, 1u)] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 202: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(6u, ldc, 0u)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 203: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(6u, ldc, 1u)] = tempC0; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 204: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(7u, ldc, 0u)] = tempC1; ^
"C:\Users\DELL2\AppData\Local\Temp\OCLD77D.tmp.cl", line 205: error: a value of type "double2" cannot be assigned to an entity of type "int" pC[mad24(7u, ldc, 1u)] = tempC1; ^
17 errors detected in the compilation of "C:\Users\DELL2\AppData\Local\Temp\OCLD 77D.tmp.cl".
Frontend phase failed compilation.
"
I don't have this output if I don't use the --store-kernels option But I guess the same problem exists.