Skip to content

handling nested TBB in thread-safe fashion#178

Open
paciorek wants to merge 30 commits into
mainfrom
nested_tbb
Open

handling nested TBB in thread-safe fashion#178
paciorek wants to merge 30 commits into
mainfrom
nested_tbb

Conversation

@paciorek
Copy link
Copy Markdown
Contributor

Prototype only. Do not merge.

This PR exists only to ease review of the prototype for issue #152 .

paciorek and others added 30 commits March 11, 2026 10:18
- handling user-defined reduction functions
- error-trapping non-user defined invalid reduction functions
- setting default init values
- fixing up handling of inf and negative init values
- allowing a user to specify the reduction fun as char or actual function.
when creating packages (issue #127)
…ts are contained in private, and packaged names can be managed (#125)

* initial redesign of nClass to hold a private Cpublic_obj and use it by active bindings

* Add basic nClass_uncompiled tests

* major work towards redesigning nClass generation and hierarchy

* fix C++ handling (Exporter and generic interface set) of new nClass structure

* close to finished with updated class naming issues within packages

* updated tests after new packingNames and nCompile naming schemes

* update predefineds. fix nimbleModels. fix package class generation with R fields.

* fix StridedTensorMap operator() for single index

* fix cpp_tests crash

* test trials

* give each case in test-argumentPassing unique package naming

* Fix test-tensorCreation for old style
Also handle missing shareVars or copyVars args.
Also handle use of external object in parallel_for.
parallel_loop_body cases a unique ID.
This addresses problems with different parfors in different methods of a class.
- allow multiple parallel_reduce operations
- handle local method as the reduction operator.
- use without assignment or in return()
- use in return()
- multiple calls to parallel_reduce at same level of AST.
Start on setting number of threads.
Finalize parallel_reduce tests.
in cppDef processing, not via Rcpp plugin.
@paciorek paciorek requested a review from perrydv May 17, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants