Giter Site home page Giter Site logo

zehanort / oclude Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 24.09 MB

An OpenCL driver to test, run and profile standalone kernels on arbitrary devices

License: MIT License

Makefile 0.63% C++ 6.72% Python 92.65%
opencl opencl-kernels opencl-applications source-code-analysis parrallel-computing profiling

oclude's People

Contributors

zehanort avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

helen-research

oclude's Issues

API for custom user input

Create an API for custom user input - a plugin interface.

E.g. support plugins (as shared objects) that the user can write (this needs proper documentation obviously) to parse input from a file/stdin to OpenCL objects/buffers.

See the oclgrind plugin support for inspiration.

Implement flags for cache manipulation

Specifically:

  • --clear-cache: Remove the whole .cache directory
  • --ignore-cache: Do not use (possibly) cached info regarding the provided kernel file
  • --no-cache-warnings: If the size of the .cache directory exceeds a certain limit, say 100MiB, a warning is shown to the user (implement that, too). This flag suppresses this warning.

Proper README/documentation

Must include the following, at least:

  • system requirements ☑
  • installation ☑
  • usage ☑
  • limitations & known issues ☑
  • license ☑

Relocate cache directory

Currently, the .cache directory resides in the utils directory. This is probably a bad choice if oclude gets released, i.e. downloadable and installable from pip.
A better idea would be to move it somewhere predefined (e.g. to /home/user/.oclude/.cache e.g. in *nix).

Bug with `timeout` flag

only found in the module API.

  • sometimes default timeout value (i.e. not specifying a timeout value) leads to the same results every time.
  • sometimes defining a timeout value different than 0 leads to oclude hanging.

cache

Debug (actually, redesign and rewrite) the file caching utility.

Separate kernel and context profiling

Export an extra functionality, that of context profiling, but separately. Context profiling every time the --time-it flag is given is both redundant and extremely expensive.

API for output formatting

Create a simple interface to pretty-print output (as an addition to what is proposed in issue #4).

Support plugins (as shared objects) to which the OpenCL kernel buffers are exported in order to be processed by the user.

Do not forget proper documentation.

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.