Change conftest **argv to recognize CUDA_VERSION.

repack-llvm
sfilippone 9 months ago
parent a2f92e616f
commit 4347c663c2

@ -2251,7 +2251,7 @@ if test "x$pac_cv_have_cuda" == "xyes"; then
#include <stdio.h>
#include <cuda.h>
int main(int argc, char *argv[])
int main(int argc, char **argv)
{
printf("%d",CUDA_VERSION);
return(0);

2
configure vendored

@ -10786,7 +10786,7 @@ printf %s "checking for CUDA version... " >&6; }
#include <stdio.h>
#include <cuda.h>
int main(int argc, char *argv)
int main(int argc, char **argv)
{
printf("%d",CUDA_VERSION);
return(0);

Loading…
Cancel
Save