Changeset 3717 for trunk/test_more


Ignore:
Timestamp:
Aug 31, 2015 6:16:15 PM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 54847d046ca10b16893f91cf125b2debdd697748
end hash code: 48d2f6a2d4b58dc317f3f05d20b5225ce2b832b9

commit 48d2f6a2d4b58dc317f3f05d20b5225ce2b832b9
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 12:50:52 2015 -0700

Implement and test pack sparsity virtual functions in checkpoint class.

commit ce33ebf8a9e7b963b12d1da0e97f3bd123bb73e7
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 10:41:32 2015 -0700

Remove invisible white space.

commit dc5e43c83f8932d84b56c0aa3bc8314a1d24aa15
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 10:41:09 2015 -0700

thread_alloc.hpp: remove incorrect mention of OpenMP.
sparsity.cpp: fix alignment array in documentation.

commit 4c293d006058258df8fdf38607f3884a790301a7
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 07:37:17 2015 -0700

Remove invisible white space.

commit 14eabcd0ad919e2ba229d95a11f14a13968d0fc2
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 07:37:03 2015 -0700

Move test_more/atomic_base -> example/atomic/sparsity.

commit e18aac40f8a0868e15e83df6c7faa0cb194af3d7
Author: Brad Bell <bradbell@…>
Date: Mon Aug 31 06:34:59 2015 -0700

Implement and test atomic_base pack sparsity.

commit 1d211f15f472ec38e676385634b8b5fc07d7fba4
Author: Brad Bell <bradbell@…>
Date: Sun Aug 30 08:42:30 2015 -0700

Add the pack type for atomic sparsity calculations and atomic_base.cpp test.
atomic_base.cpp: file that will be used to test atomic pack sparsity option.

commit 3607f0e483b00646e7dc0188fc2bbc639e537784
Author: Brad Bell <bradbell@…>
Date: Sun Aug 30 08:18:19 2015 -0700

Add pack to type of sparsity patterns supported by atomic functions (not yet used).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/checkpoint.cpp

    r3713 r3717  
    160160                ADFun<double> h(ax, ay);
    161161
    162                 for(size_t k = 0; k < 2; k++)
     162                for(size_t k = 0; k < 3; k++)
    163163                {       if( k == 0 )
     164                                h_check.option(CppAD::atomic_base<double>::pack_sparsity_enum);
     165                        if( k == 1 )
    164166                                h_check.option(CppAD::atomic_base<double>::bool_sparsity_enum);
    165                         else
     167                        if( k == 2 )
    166168                                h_check.option(CppAD::atomic_base<double>::set_sparsity_enum);
    167169
Note: See TracChangeset for help on using the changeset viewer.