Closed vedranmiletic closed 7 years ago
I do not think you need ctrsm example. so remove everything related to ctrsm from the cmakefile: https://github.com/clMathLibraries/clBLAS/blob/master/src/samples/CMakeLists.txt#L64
Possibly, but it would be nice if it did not fail compilation.
Reproduce on Ubuntu 16.10 with -DBUILD_SAMPLE
.
FloatComplex
is typedefed to cl_float2
.
Recommend adding that build config to your test server.
Can you make a pull request to fix it? Thank you.
Eventually yes, but not right now. There is more things I like to clean up in clBLAS and I will send those patches as well, but first I would like to get clBLAS working with Clover (tracking meta-bug) since it is a prerequisite for (at least) Octopus and Theano.
I wonder if the error error: ‘FloatComplex {aka union <anonymous>}’ has no member named ‘x’
is related to this ? I wonder if you can compile the example if you change result[i * ldb + j].x
to result[i * ldb + j].s[0]
and so forth.
@TimmyLiu I think you are spot on... fix proposed at: https://github.com/clMathLibraries/clBLAS/pull/309
I'm building clBLAS on Fedora 25 with GCC 6.3.1, Mesa 17.1 git and ocl-icd 2.2.11. I have turned on every BUILD_* except BUILD_CLIENT, and I get: