8000 Refactor ndloop.c by ohai · Pull Request #29 · ruby-numo/numo-narray · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ohai
Copy link
Contributor
@ohai ohai commented Sep 9, 2016

A refactoring of ndoop.c.

ohai added 10 commits September 3, 2016 09:38
Extract some function from ndloop_alloc
Extract the following functions from ndloop_alloc:
* ndloop_setup_lp_trans_map
* ndloop_setup_lp_reduce
* ndloop_set_trans_map_identity
* check_args_length
Extract the following functions from ndloop_init_args.
* ndloop_lp_has_an_empty_element
* ndloop_xarg_readwrite_flag
* ndloop_init_arg_by_narray
Extract get_pointer_for_rwflag from ndloop_set_stepidx.
refactroing ndloop_run
Extract the following functions from ndloop_init_args
* ndloop_set_noloop
* ndloop_init_arg_by_array
* ndloop_reject_no_data_array
* ndloop_set_step_for_linear_data
* ndloop_set_stepidx_for_view
New function: ndloop_max_nd
Modify ndloop_set_step_for_linear_data nhand ndloop_set_stepidx_for_view.
Refactor ndloop_set_output.
Extract ndloop_set_output_rarray function from ndloop_set_output.
Refactor ndloop_get_arg_type.
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.

1 participant

0