Changeset 429 for trunk/configure


Ignore:
Timestamp:
May 27, 2013 5:28:48 AM (7 years ago)
Author:
kulshres
Message:

merge branch 'new_traceless' into svn 'trunk'

Also update the tapeless_scalar and tapeless_vector examples updated

The following commits have been merged:

commit b8092a92979317d8c4926a2f01799e3f86493b87
Merge: b883461 d1739a3
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue Apr 30 14:31:20 2013 +0200

Merge branch 'master' into new_traceless

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit b883461efcdf7ac54268e37884b7d48f94362dad
Author: Benjamin Letschert <letschi@…>
Date: Fri Aug 31 13:35:30 2012 +0200

correct all assignment operators to return this

commit abadb57fb63c5ebe58603313a477d5c62bd75a23
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Fri Jun 8 11:32:52 2012 +0200

use inlining again as much as possible

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 72159664f51564d898a4e8cf24c00169991d43ab
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Jun 4 18:20:33 2012 +0200

bugfixes and efficiency fixes for new traceless mode

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit b3139b5123a9e177bb02c93588cd6b48ed365873
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue May 29 16:23:38 2012 +0200

get rid of compilation errors

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 9ffa38f804f69f9e2162020aa29adb791fa2966e
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue May 29 15:57:48 2012 +0200

add files to build system

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 288b0b568c6b7b10d0eddc649e8c79c65600f62e
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue May 29 15:50:31 2012 +0200

reimplement tapeless mode

due to larger functions required with sparsity pattern detection, the
preprocessor based implementation of the tapeless mode was bad. now it
is a runtime based implementation.

the user does
#include <adolc/adtl.h>

using namespace adtl;

there is no more need for ADOLC_TAPELESS_UNIQUE_INTERNALS.

the user needs to call setNumDir(n) for n>1
and setMode(ADTL_INDO) for sparsity detection
then later setMode(ADTL_FOV) for getting derivatives

one could also do setMode(ADTL_FOV_INDO) for both simultaneously.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit c5bb5abcb3aceeb9ca7e4ac99b3f50e0ae6ac8db
Author: Benjamin Letschert <letschi@…>
Date: Fri Mar 30 13:15:03 2012 +0200

Adding control variable for ADOLC_Init_sparse_pattern

commit b5ae7415cb4bb90d80a1f0cfbcc53197cff7939e
Author: Benjamin Letschert <letschi@…>
Date: Thu Mar 29 18:24:42 2012 +0200

Adding ADOLC_TRACELESS_SPARSE_PATTERN in traceless mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r411 r429  
    804804enable_harddebug
    805805enable_stdczero
     806enable_lateinit
    806807enable_tserrno
    807808with_openmp_flag
     
    14801481                          incorrect results for implicit array
    14811482                          initializations, see manual) [default=enabled]
     1483
     1484  --enable-lateinit       adouble constructors need to be called. With malloc
     1485                          or realloc that is not the case. With this option
     1486                          the adouble can do an late initialization.)
     1487                          [default=disabled]
    14821488
    14831489  --enable-tserrno        use errno as thread number cache [default=no]
     
    1584915855fi
    1585015856
     15857# check for builtin
     15858
     15859    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
     15860$as_echo_n "checking for __builtin_expect... " >&6; }
     15861    ac_ext=c
     15862ac_cpp='$CPP $CPPFLAGS'
     15863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     15864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     15865ac_compiler_gnu=$ac_cv_c_compiler_gnu
     15866
     15867    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15868/* end confdefs.h.  */
     15869
     15870          int f(){return 1;};
     15871
     15872int
     15873main ()
     15874{
     15875
     15876          if (__builtin_expect(f(), 0));
     15877
     15878  ;
     15879  return 0;
     15880}
     15881_ACEOF
     15882if ac_fn_c_try_link "$LINENO"; then :
     15883
     15884        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     15885$as_echo "yes" >&6; }
     15886
     15887$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
     15888
     15889
     15890else
     15891
     15892        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     15893$as_echo "no" >&6; }
     15894
     15895fi
     15896rm -f core conftest.err conftest.$ac_objext \
     15897    conftest$ac_exeext conftest.$ac_ext
     15898
     15899
    1585115900# checks for header files
    1585215901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     
    1667816727
    1667916728$as_echo "#define ADOLC_ADOUBLE_STDCZERO 1" >>confdefs.h
     16729
     16730fi
     16731
     16732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking wether the adouble varaibles have a late initialize option for functions like malloc/realloc" >&5
     16733$as_echo_n "checking wether the adouble varaibles have a late initialize option for functions like malloc/realloc... " >&6; }
     16734# Check whether --enable-lateinit was given.
     16735if test "${enable_lateinit+set}" = set; then :
     16736  enableval=$enable_lateinit;
     16737  adolc_late_init=yes
     16738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     16739$as_echo "yes" >&6; }
     16740
     16741else
     16742
     16743  adolc_late_init=no
     16744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16745$as_echo "no" >&6; }
     16746
     16747fi
     16748
     16749
     16750if test x$adolc_late_init == xyes; then
     16751
     16752$as_echo "#define ADOLC_ADOUBLE_LATEINIT 1" >>confdefs.h
    1668016753
    1668116754fi
     
    1975319826echo \
    1975419827"  Use ADOL-C safe extern mode:        ${adolc_safe_extern}
     19828  Use ADOL-C late init mode:          ${adolc_late_init}
    1975519829
    1975619830  Build sparse drivers:               ${sparse}
Note: See TracChangeset for help on using the changeset viewer.