1. 19 Jan, 2018 3 commits
    • Tristan Webb's avatar
      Drwebb/gpu doc (#386) · 408f3b25
      Tristan Webb authored
      * Add mention of blob ref of original file from caffe2
      
      * Mention location of source listing originally from LLVM project
      408f3b25
    • Adam Procter's avatar
      Forward prop for average pooling (#380) · 0931b83b
      Adam Procter authored
      * Average pool type checking and kernel; type checking tests
      
      * Fix and enable average-pool tests
      
      * Docstring fix
      
      * Extend AvgPool op type checking to support padding
      
      * Untested code for padded avg-pool
      
      * Unit tests for padded avg-pool
      
      * Add CPU implementation
      
      * Temp delete
      
      * Docstring fix
      
      * Docstring fix
      
      * Add tests mixing padding and stride
      
      * Temporary cut to ease merge
      
      * Restore temporary cut for merge
      
      * Empty commit to try to force CI to wake up
      0931b83b
    • Adam Procter's avatar
  2. 18 Jan, 2018 5 commits
  3. 17 Jan, 2018 5 commits
    • Robert Kimball's avatar
      f6a578b4
    • varun-intel's avatar
      remove a node from users (#379) · 981dabef
      varun-intel authored
      * remove a node from users
      
      * style
      981dabef
    • Robert Kimball's avatar
      Add mxnet seq2seq serialized model for benchmarking (#385) · 5ad1de22
      Robert Kimball authored
      * add mxnet seq2seq forward and backward
      
      * add benchmarks for seq2seq forward and backward
      5ad1de22
    • Matthew Brookhart's avatar
      Numerically stable sum so we can pass mxnet unit tests (#381) · b6c98de1
      Matthew Brookhart authored
      * Numerically stable sum so we can pass mxnet unit tests
      
      * Add a small initial residual
      b6c98de1
    • Tristan Webb's avatar
      Drwebb/gpu external function (#367) · c5549682
      Tristan Webb authored
      * Initial GPU_ExternalFunction implementation
      
      Other changes:
      
      Add GPU runtime to same cmake block as GPU, include CUDA headers if GPU enabled
      
      Initial passing (a+b)*c test
      
      Properly link cuda libraries
      
      Simple GPUTensorView implementation
      
      Initial GPU emitter
      
      GPU codegen initial function gen, no kernels yet
      
      Rename GPU emitter and tensor_view_wrapper to match naming convention
      
      * GPU external function based on BASE
      
      * Fix stray base -> gpu
      
      * TensorViewWrapper -> GPU_TensorViewWrapper
      
      * Copy over emitter from base transformer
      
      * Fix for naming dense layout
      
      * Copy kernel emitters from base -> gpu and strip out kernel_utils
      
      * Add aliases to GPU_TensorViewWrappers
      
      * More fixes for naming descriptor::TensorViews
      
      * Move in call_frame implementation from base -> gpu
      
      * apply code format
      
      * GPU codegen running A+B*C
      
      gpu emitters
      gpu ctx setup cuda_module kernels
      Remove GPU_CF perf counters
      Use gpu kernels in external function
      Add GPU 1d dot test
      
      Review Changes:
      * Remove CPU specific kernel emitting method bodies
      
      * Use copy_data from test/util.cpp, uncomment compileTest
      
      * Use test_utils copy_data function
      
      * Grab function name from pass manager for def, clean up indentation
      c5549682
  4. 16 Jan, 2018 3 commits
  5. 14 Jan, 2018 2 commits
  6. 12 Jan, 2018 1 commit
  7. 11 Jan, 2018 2 commits
  8. 10 Jan, 2018 4 commits
    • Nick Korovaiko's avatar
      Pattern matching for sum (#293) · 4345e39d
      Nick Korovaiko authored
      * the first stab at pattern for sum
      
      test refactoring, debug msg clean up, formatting fixes
      
      removing v1 and cleaning up v2 + formatting
      
      rollback the changes in reduce_ops
      
      rename v2 -> sum_pred
      
      remove unused funcs
      
      switch to new c-tors
      
      remove TensorViewType
      
      removing an assert
      
      fix a docstring to match a c-tor
      
      * fixes after rebase
      4345e39d
    • Adam Procter's avatar
      c5ffe8e9
    • Robert Kimball's avatar
      7b1dc3e3
    • Matthew Brookhart's avatar
      Switch from Eigen to OpenMP for loops for DS2 kernels (#345) · 7df687c1
      Matthew Brookhart authored
      * speed up reduceslice with kernel emitter
      
      * const-ify and fix a clang warning
      
      * add elementwise ops, slice to for loops
      
      * add broadcast codegen
      
      * add Exp
      
      * fix bugs introduced in eigen kernels
      
      * fix another introduced bug in Eigen
      
      * Fix an Atomic Bug with Sum, do some cleanup
      
      * unit tests pass
      
      * Add Reshape Op, passes Tests
      
      * rewrite sum to correctly handle muti-threading
      
      * Code Cleanup
      
      * add some extra unary ops
      
      * Address review comments
      
      * fix an error in the review comment refactor
      
      * Add Power op
      
      * Add (most) of the Logic Ops
      
      * Make Concat default to OpenMP kernel
      
      * fix n-D reshape issue
      7df687c1
  9. 09 Jan, 2018 3 commits
  10. 08 Jan, 2018 2 commits
  11. 06 Jan, 2018 1 commit
  12. 05 Jan, 2018 4 commits
    • Adam Procter's avatar
      Zero padding for convolution (#352) · 8c4ae5ea
      Adam Procter authored
      8c4ae5ea
    • Robert Kimball's avatar
      Remove descriptor::Value and runtime::Value (#355) · 06f9efd9
      Robert Kimball authored
      * general cleanup
      
      * remove runtime::Value
      
      * more cleanup
      
      * more cleanup
      06f9efd9
    • Robert Kimball's avatar
      Remove unused args from Input (#353) · f4bb3e46
      Robert Kimball authored
      * cleanup
      
      * remove arg_index
      
      * remove argno from Input
      
      * uncleanup
      f4bb3e46
    • Tristan Webb's avatar
      Drwebb/gpu runtime boilerplate (#314) · feab44b5
      Tristan Webb authored
      * Simple boilerplate for GPU runtime files
      
        - GPUBackend
        - GPU ExternalFunction
        - GPUManager
        - GPUCallFrame
      
      * Test for construction all GPU runtime classes
      
      * Comment out calls, constructors haven't been defined
      
      * Clang CUDA source example to later test compiling
      
      Clang cuda example from:
      https://gist.github.com/anonymous/855e277884eb6b388cd2f00d956c2fd4
      
      * Initial nvptx compiler copied from CPU compiler sources
      
      * Define FunctionMap and Instruction for gpu external function
      
      * Rename Compiler -> NVPTXCompiler for gpu compile. Add call to compile for test
      
      * Rename StaticCompiler -> NVPTXStaticCompiler for GPU code gen
      
      * CAdd nvptx_compiler and nvptx_execution_engine to gpu sources
      
      * Compiling source unit test using hardcoded PTX
      
      * (a+b)*c test for GPU
      
      * WIP Fix compile
      
      * rmed accidentally included file
      
      * Fix compile, and LLVM link errosr from nvptx_compiler.cpp
      
      * Stub out parts needed for GPU manager
      
      * Test GPU runtime method stubs
      
      * Cleanup
      
      * Add GPU runtime to same cmake block as GPU, include CUDA headers if GPU enabled
      
      * Kill reflexive assertion
      
      * change GPU naming convention to match CPU
      
      * Snake case functions and identifiers in test case
      
      * Change element type to match changes in master
      
      * Make CUDA headers accessible for codegen with GPU transformer
      
      * clang-format
      
      * apply-code-format
      feab44b5
  13. 04 Jan, 2018 2 commits
  14. 03 Jan, 2018 1 commit
  15. 02 Jan, 2018 1 commit
  16. 30 Dec, 2017 1 commit
    • Adam Procter's avatar
      Forward prop for max pooling (#305) · d901282e
      Adam Procter authored
      * Definition and type checking for max pool
      
      * Implement kernel, integrate into INTERPRETER, add a few unit tests, make function result type mismatch error message more informative (still need to update tests to reflect that)
      
      * Temporarily delete unit tests to ease merge
      
      * Temporarily delete unit tests to ease merge
      
      * Restore deleted unit tests
      
      * Fix a broken error message check in the unit tests
      
      * Update to handle various TensorViewType-related things going away; add NGVM support
      
      * Add codegen case
      
      * Change various get_blah_shape methods to return const refs, and while we're here, make a similar change where it should have been done in convolution
      
      * Use NDArray for max-pool tests
      d901282e