[cig-commits] r18419 - cs/autoconf/trunk
brad at geodynamics.org
brad at geodynamics.org
Sun May 22 07:28:52 PDT 2011
Author: brad
Date: 2011-05-22 07:28:52 -0700 (Sun, 22 May 2011)
New Revision: 18419
Modified:
cs/autoconf/trunk/cit_cuda.m4
Log:
Fixed test.
Modified: cs/autoconf/trunk/cit_cuda.m4
===================================================================
--- cs/autoconf/trunk/cit_cuda.m4 2011-05-22 14:11:05 UTC (rev 18418)
+++ cs/autoconf/trunk/cit_cuda.m4 2011-05-22 14:28:52 UTC (rev 18419)
@@ -29,7 +29,7 @@
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <cuda_runtime.h>]],
[[void* ptr = 0;]]
- [[cudaMalloc(ptr, ptr, 1);]])],
+ [[cudaMalloc(&ptr, 1);]])],
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
AC_MSG_ERROR([cuda library not found.])
More information about the CIG-COMMITS
mailing list