The error is like this:
- Code: Select all
gcc -O3 -DADD_ -DGPUSHMEM=200 -I/usr/local/cuda/include -I../include -I../quark/include -c auxiliary.cpp -o auxiliary.o
In file included from auxiliary.cpp:9:
common_magma.h:106: error: 'cublasStatus_t' does not name a type
common_magma.h:107: error: 'cublasStatus_t' does not name a type
The code causing the problem in common_magma.h is new in version 1.1.0 as follows
- Code: Select all
/** ****************************************************************************
* Define magma streams
*/
extern cudaStream_t magma_stream;
#ifdef __cplusplus
extern "C" {
#endif
cublasStatus_t magmablasSetKernelStream( cudaStream_t stream );
cublasStatus_t magmablasGetKernelStream( cudaStream_t *stream );
#ifdef __cplusplus
}
#endif
My version of cublas.h defines cublasStatus and not cublasStatus_t. Is this a question of a change of version of cuda or is this a typo?
Thanks
John
