clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
843 stars 237 forks source link

temporary solution to building error in #191, #186 #257

Open tingxingdong opened 8 years ago

tingxingdong commented 8 years ago

Problems: When building with "PRECOMPILE_XGEMM being ON" on "Fiji + Ubuntu", such error is observed. make[2]: *\ [include/AutoGemmKernelBinaries/AutoGemmKernelBinariesPreCompiled.h] Error 139 But no error reported on "Fiji + Windows".

Related issues are #191, #186.

Solution: Just "turning PRECOMPILE_xGEMM OFF". It is only an option. It won't affect performance at all.

============================== Windows: recent========================== Yet, just recently, if enable SGEMM and DGEMM precompile on Windows 10 + VS 2015. It report such error " C:\Users\tdong\Documents\GitHub\clBLAS_BUILD\include\AutoGemmKernelBinaries/sgemm_Col_NT_B1_MX096_NX096_KX16_bin.cpp(11703): fatal error C1060: compiler is out of heap space"

Before, we did not observe it. Again, the solution is merely "turn off the Precompile", No performance hurt.

anadon commented 8 years ago

Any idea why it's not working? What's different about the compilation paths of it pre-compiling and doing so at runtime?

tingxingdong commented 8 years ago

https://github.com/clMathLibraries/clBLAS/wiki/Pre-compilation-vs-run-time-compilation-in-OpenCL