Fix the autotools atrip_cublas
This commit is contained in:
parent
0b14ac7704
commit
368c5619cc
@ -40,7 +40,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([_ATRIP_CUDA_MEMORY_OF_DEVICES])],
|
||||
],
|
||||
[
|
||||
atrip_success=no
|
||||
AC_MSG_ERROR([An available device reports zero memory available!])
|
||||
AC_MSG_WARN([An available device reports zero memory available!])
|
||||
])
|
||||
|
||||
CXX="$ac_save_CXX"
|
||||
@ -92,6 +92,7 @@ int main() {
|
||||
|
||||
|
||||
m4_define([_ATRIP_CUDA_MEMORY_OF_DEVICES], [[
|
||||
|
||||
#include <mpi.h>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
@ -146,4 +147,5 @@ int main() {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
]])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user