Git Product home page Git Product logo

htm.cuda's People

Contributors

breznak avatar mirgee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htm.cuda's Issues

C++ wrapper for CUDA class SP

with aim to run cudaSP seamlessly from C++. Ideally a drop-in replacement.

  • integrate HelloSP & SpatialPooler.cu into 1 file
    • there should be SpatialPooler.cu & a main.cu (main only calls initialization & compute of SP.cu)
  • cmake detect CUDA, nvcc & nVidia HW availability
    • cmake compile using nvcc & run tests
  • C++ wrapper
    • wrap all CUDA code with ifdef HAS_CUDA
    • SpatialPoolerCuda.hpp that wraps implemented cu code to c++ API (minimal initialize & compute)
    • SpatialPoolerCuda.cpp implements simple buffering
      • as c++ compute calls with a singleton data, while cu calls with block of data
    • cmake builds c++ wrapper

Add documentation

Add to Readme

  • requirements
  • steps how to build
  • high level doc of this work
    • differences to c++ version/limitations (only local inhibition), forced separation of cols into "blocks"(how many,...)
    • hi-lev What does it do - CUDA-wise (loads data in batch, execute in parallel each "block",...)
  • comments in SpatialPooler.cu, HelloSP.cu - why there are "duplicit" methods (getPermanences), document cuda impl a bit
  • mention performance gains
  • Notes on Future work (what else can be optimized (in SP, in HTM,..)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.