BLASX icon indicating copy to clipboard operation
BLASX copied to clipboard

inline's cause problems for compiling, had to remove for Ubuntu 16.04

Open pseudotensor opened this issue 8 years ago • 3 comments

See changes in forked version: https://github.com/pseudotensor/BLASX (commit a9b22933ae395607c000bc7bc616783636464108).

All inlined functions would be not found during linking otherwise.

pseudotensor avatar Mar 22 '17 21:03 pseudotensor

I haven't compiled the code for several months, but I will take a look at ASAP.

linnanwang avatar Mar 23 '17 00:03 linnanwang

gcc -g gemm.o -L../lib -lblasx -L/usr/local/cuda/lib64 -lcudart -lcublas -lcuda -o gemm
../lib/libblasx.so: undefined reference toF77TransToCBLASTrans'
../lib/libblasx.so: undefined reference to `F77DiagToCBLASDiag`' 
../lib/libblasx.so: undefined reference toCBlasFilledModeToCuBlasFilledMode'
../lib/libblasx.so: undefined reference to CBLasTransToCuBlasTrans' 
../lib/libblasx.so: undefined reference toCBlasDiagModeToCuBlasDiagMode'
../lib/libblasx.so: undefined reference to F77SideToCBlasSide' 
../lib/libblasx.so: undefined reference toCBlasSideToCuBlasSide'
../lib/libblasx.so: undefined reference to Blasx_Debug_Output' 
../lib/libblasx.so: undefined reference toF77UploToCBlasUplo'

I met the same proble and I add -std=gnu89 to CFLGAS ,it works well.

Biblesomething avatar Jul 14 '17 01:07 Biblesomething

haha, thank you for your help.

linnanwang avatar Jul 14 '17 01:07 linnanwang