1. 15 3月, 2018 2 次提交
    • T
      Implement Select OP (#9088) · 1e4c504e
      Thuan Nguyen 提交于
      * Fix old documentation for channel_recv
      
      * Initial design of CSP select
      
      * Redesign channel implementation for Select Op
      
      * Remove unecessary header
      
      * Initial checkin of select op, currently will read all the conditional_op in the cases block and also pull out all channels involved in the select.
      
      * Init python select op API
      
      * Python select bug fix when checking op creates block
      
      * Add case_to_execute as (a) input to select, (b) into the passed inputs into the select op
      
      * Add in addition code for select op
      
      * Init fibonacci test from python
      
      * implement fibonnaci sequence test
      
      * update fib unit test
      
      * Improve select test cases
      
      * Shorten non-pep-8-ed lines
      
      * Add methods on channel needed by select op
      
      * Fix compile issues, finish implementation, still need to debug code
      
      * Fix issue with fibonncci test, it works now!
      
      * Change QueueMessage callback to take in an ChannelAction enum, fix select unit test
      
      * Fix case attributes
      
      * Fix issue with select control flow
      
      * Make cases - previously on each selectcase conditional_block - attributes to select
      
      * Use class constants for type of channel
      
      * Change select op to take in "cases" attribute
      
      * return boolean from select callback function to tell Channel if this RECV or SEND should be executed
      
      * Improve attributes and inputs comments on select op
      
      * Fix issues with python unit test
      
      * Assert fibonacci final output
      
      * Fix issue when channel name / channel var is null for "default" case in select op
      
      * Assert base select test output
      
      * Make QueueMessage use shared pointer and modify the order of the callback
      
      * Fixing the order in which the callback is called
      
      * Move channel utility methods to paddle/fluid/operators/concurrency/channel_util
      
      * Create channel_util and move channel util methods
      
      * Fix crash when calling select_op
      
      * Fix deadlock
      
      * Fix issue of channel destructor deadlock
      
      * Fix precommit issues
      
      * Accidentally checked in changes to beam_search_op, reverting change.
      
      * Fix dependency issue in concurrency cmake
      
      * add device_context dependency for concurrency target
      1e4c504e
    • A
      41894da1
  2. 14 3月, 2018 2 次提交
  3. 13 3月, 2018 1 次提交
  4. 12 3月, 2018 4 次提交
  5. 10 3月, 2018 1 次提交
  6. 09 3月, 2018 4 次提交
  7. 08 3月, 2018 2 次提交
  8. 07 3月, 2018 5 次提交
  9. 06 3月, 2018 3 次提交
  10. 05 3月, 2018 1 次提交
  11. 02 3月, 2018 1 次提交
  12. 01 3月, 2018 3 次提交
    • A
      01536e8d
    • C
      Add tuple type (#8519) · 12a3cea0
      chengduo 提交于
      * add the type of tuple
      
      * add lod_tensor to tuple
      12a3cea0
    • A
      Add Go_op, Channel_create, channel_close, channel_send and channel_receive ops (#8593) · 0d878e4c
      Abhinav Arora 提交于
      * Adding Python boilerplate code for Go op
      
      * Add very basic test case
      
      * Adding the python logic for go routine
      
      * Fix syntax
      
      * Changing test to notest
      
      * Rename Routine to Go
      
      * Combining GoGuard and Go in one class
      
      * Modify test
      
      * Adding fluid close channel
      
      * Fixing __init__.py for calling fluid.go()
      
      * Adding stubs for channel methods and updating test case
      
      * Removing import *
      
      * Adding imports from concurrency
      
      * Initial commit of GO_OP (for varun)
      
      * Creating local scopes and go through them
      
      * Updated go op inputs persistability enforcement
      
      * Add thread execution; compile failing though
      
      * Fix go op
      
      * Cleaned up Go op
      
      * Fix yapf format issue
      
      * Readd warp ctc dir for unit tests
      
      * Updated make_channel, channel_send, channel_recv and channel_close
      
      * Moved thread function to another method, update unit tests
      
      * remove output var
      
      * Add stubs for channel operators
      
      * Updating concurrency with signatures
      
      * Updated the signature with return status
      
      * Fixed dtype in variables
      
      * Updating stub of ChannelSend + add infershape
      
      * Updating stub of ChannelRecv + add infershape
      
      * Updated signature
      
      * Adding the channel_create operator
      
      * Merge channel send+receive ops
      
      * Update concurrency tests using all operators
      
      * Updating the create op with ChannelHolder
      
      * Fix issues with channel_create_op
      
      * Add the implementation for channel_close op
      
      * Add channel close operator, fix channel close op
      
      * Adding the channel_send op
      
      * Comment channels C++ and Python code
      
      * Concurrency python api comment fix
      
      * Update unit test to add Status variable
      
      * Adding channel receive operator
      
      * Update concurrency test to demonstrate a complete CSP flow
      
      * Fix clang-format issues
      
      * Fixed "Out" parameter name
      
      * Fixing merge conflict in framework.py
      
      * Add channel ops to framework.py no_kernel_op_set
      
      * Seperating channel_send and channel_recv operators
      
      * Documenting capacity type
      
      * Update concurrency test to create go block as child block of main program
      
      * Changing set status implementation
      0d878e4c
  13. 28 2月, 2018 1 次提交
    • X
      Adding Dim<0> · 7d56c6d0
      xuwei06 提交于
      Dim<0> is for scalar (rank-0 tensor). Adding Dim<0> can simplify
      a lot of code.
      7d56c6d0
  14. 27 2月, 2018 1 次提交
  15. 26 2月, 2018 2 次提交
  16. 24 2月, 2018 3 次提交
  17. 23 2月, 2018 3 次提交
    • A
      Add unit tests for ChannelHolder (#8510) · 6e7fee0e
      Abhinav Arora 提交于
      6e7fee0e
    • Y
      Change DFS to BFS · 65058cfb
      Yu Yang 提交于
      65058cfb
    • K
      Exposing Channel to be used as a Variable and integrating with Fluid (#8486) · 77ee8fb2
      kavyasrinet 提交于
      * Adding set_capacity method support
      
      * Adding Python for make_channel
      
      * Updating notest_concurrency
      
      * Write python for make_channel method
      
      * Write python for make_channel method
      
      * Fix make_channel and test
      
      * Placeholder ops for channel send, recv and close
      
      * Adding ToTypeIndex method to var_type.h
      
      * Add var_type.h to channel:
      
      * Added POD_Type to the method
      
      * Add CHANNEL to executor
      
      * Updated get and set DataType to accomodate Channels
      
      * Updating get and set to incorporate channels
      
      * Adding CHANNEL as supported VarType in protobuf
      
      * Removing unecessary import
      
      * Fixing VarDesc to adapt to Channel as VarType
      
      * Add channel.h to executor
      
      * Remove innclude from channel
      
      * Updated var_type to support Channel as  var type
      
      * Adding get_channel to pybind
      
      * Added ChannelHolder
      
      * Adding make_channel as an op
      
      * Adding ChannelHolder in channel
      
      * Fixing typo
      
      * Commenting out operators in concurrency
      
      * Removing totypeid right now since we don't need it.
      
      * Reverting python changes
      
      * Fixing typo in framework.py
      
      * Modify comments for ReaderHolder
      77ee8fb2
  18. 22 2月, 2018 1 次提交