Compiling with gcc-4.9 and the Intel OpenCL ICD(cmake says that this is an OpenCL 1.2 implementation) I received the following error in example_ctrsm.c:
[ 44%] Building C object samples/CMakeFiles/example_ctrsm.dir/example_ctrsm.c.o
/home/sifff/Development/clBLAS/src/samples/example_ctrsm.c: In function ‘printResult’:
/home/sifff/Development/clBLAS/src/samples/example_ctrsm.c:74:48: error: ‘FloatComplex’ has no member named ‘x’
printf("%.5f ", result[i * ldb + j].x);
^
changing result[i ldb + j].x to result[i ldb + j].s[0] fixes the issue.
Compiling with gcc-4.9 and the Intel OpenCL ICD(cmake says that this is an OpenCL 1.2 implementation) I received the following error in example_ctrsm.c: [ 44%] Building C object samples/CMakeFiles/example_ctrsm.dir/example_ctrsm.c.o /home/sifff/Development/clBLAS/src/samples/example_ctrsm.c: In function ‘printResult’: /home/sifff/Development/clBLAS/src/samples/example_ctrsm.c:74:48: error: ‘FloatComplex’ has no member named ‘x’ printf("%.5f ", result[i * ldb + j].x); ^
changing result[i ldb + j].x to result[i ldb + j].s[0] fixes the issue.