/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to cuda/nvopts.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-10 16:34:35 UTC
  • Revision ID: csa@dside.dyndns.org-20091210163435-43ccu65nj1qi96d2
Compile with --use_fast_math option of nvcc

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
#----------------------------------------------------------------------------
86
86
            RPATH="-Wl,-rpath-link,$TMW_ROOT/bin/$Arch"
87
87
            CC='nvcc'
88
 
            CFLAGS='-O3 -Xcompiler "-fPIC -D_GNU_SOURCE -pthread -fexceptions -m64"'
 
88
#           DS: use_fast_math
 
89
#           CFLAGS='-O3 -Xcompiler "-fPIC -D_GNU_SOURCE -pthread -fexceptions -m64"'
 
90
            CFLAGS='-O3 --use_fast_math -Xcompiler "-fPIC -D_GNU_SOURCE -pthread -fexceptions -m64"'
89
91
            CLIBS="$RPATH $MLIBS -lm -lstdc++"
90
92
            COPTIMFLAGS='-Xcompiler "-O3 -funroll-loops -msse2 -DNDEBUG"'
91
93
            CDEBUGFLAGS='-g'