Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor sync #48

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Apr 28, 2016

  1. refactor/sync: convert to the new memory management API

    Refactor code CUDA and Native backend to match #autumnai/collenchyma/62 that
    provides enchanced memory management and syncronization. Since memory
    management is now automatic, `*_plain` variants of functions are removed.
    
    BREAKING CHANGE: *_plain versions of API functions are removed, arguments of
    their counterpart functions may have changed in mutablity.
    
    REFERENCE: autumnai/collenchyma#37, autumnai/collenchyma#62
    alexandermorozov committed Apr 28, 2016
    Configuration menu
    Copy the full SHA
    7ba3c4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c7d383 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2016

  1. refactor/tests: restructure and convert to new memory API

    Refactor tests to be generic on backend and element type, use generic
    functions to fill input vectors and check outputs. Use macros to instantiate
    concrete tests for Native/Cuda and f32/f64. Tests are now easier to read
    and 5-10x shorter.
    
    Add randomly generated test vectors for relu, sigmoid, tanh, softmax and
    log softmax. LRN, pooling and convolution use old test vectors. Convolution
    test fails the same way it failed before restructure.
    alexandermorozov committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    10bbb6e View commit details
    Browse the repository at this point in the history

Commits on May 1, 2016

  1. refactor/benches: convert benches to new memory access API

    Convert and use macros to make benches definitions more compact. Implement
    benches for Cuda, though they take ages to complete.
    
    Since benches are moved in main source tree, feature flag "unstable" is used
    to conditionally compile them.
    
    BREAKING CHANGE: use cargo flag "unstable" to compile benches.
    alexandermorozov committed May 1, 2016
    Configuration menu
    Copy the full SHA
    1473904 View commit details
    Browse the repository at this point in the history