#ifdef __cplusplus
extern "C" {
#endif
int function1(...);
int function2 (...);
#ifdef __cplusplus
}
#endif
[tomov@cumin testing]$ nm ../lib/libmagma.a | grep magma_dgetrf
0000000000000000 T _Z12magma_dgetrfPiS_PdS_S_S0_S0_S_
0000000000000000 T _Z16magma_dgetrf_gpuPiS_PdS_S_S0_S_
[tomov@cumin testing]$ nm testing_dgetrf.o | grep magma_dgetrf
U _Z12magma_dgetrfPiS_PdS_S_S0_S0_S_
[tomov@cumin testing]$ cp testing_dgetrf.cpp testing_dgetrf.c
[tomov@cumin testing]$ gcc -O3 -DADD_ -I../include -I/usr/local/cuda/include -c testing_dgetrf.c -o testing_dgetrf.o
[tomov@cumin testing]$ nm testing_dgetrf.o | grep magma_dgetrf
U magma_dgetrf
Users browsing this forum: Google [Bot] and 2 guests