Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
ras-devel
FLAG
Commits
bb6827cf
Commit
bb6827cf
authored
8 years ago
by
Mitch Burnett
Browse files
Options
Download
Email Patches
Plain Diff
min working check cuda macro
parent
3cb7303d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/m4/check_cuda.m4
+0
-9
src/m4/check_cuda.m4
with
0 additions
and
9 deletions
+0
-9
src/m4/check_cuda.m4
+
0
-
9
View file @
bb6827cf
...
...
@@ -24,25 +24,16 @@ fi
# add CUDA to search dir for header and lib searches
# ax_save_CFLAGS="${CFLAGS}"
# ax_save_LDFLAGS="${LDFLAGS}"
# Declare the new variable
AC_SUBST([CUDA_INCDIR])
AC_SUBST([CUDA_LIBDIR)
CUDA_INCDIR="-I$cuda_prefix/include"
# CFLAGS="$CUDA_INCDIR $CFLAGS"
CUDA_LIBDIR="-L$cuda_prefix/lib"
#LDFLAGS="$CUDA_LIBDIR $LDFLAGS"
AC_CHECK_HEADER([cuda.h], [], AC_MSG_FAILURE([Couldn't find cuda.h]), [#include <cuda.h>])
AC_CHECK_LIB([cuda], [cuInit], [], AC_MSG_FAILURE([Couldn't find libcuda]))
# Return to original flags?
# CFLAGS=${ax_save_CFLAGS}
# LDFLAGS=${ax_save_LDFLAGS}
])
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets