Code Monkey home page Code Monkey logo

khiva-python's People

Contributors

avilchess avatar dcuestam avatar johnperico avatar jrecuerda avatar justoruiz avatar lsybarguen avatar otorreno avatar raulbocanegra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

khiva-python's Issues

Access violation

Describe the bug
I get a access violation whenever I use khiva python lib

To Reproduce
Run a simple program like:

from khiva.library import *
set_backend(KHIVABackend.KHIVA_BACKEND_OPENCL)
set_device(0)

from khiva.array import *
a = Array([1, 2, 3, 4, 5, 6, 7, 8])
a.display()

Expected behavior
Application should run without exceptions

Screenshots

(base) C:\Progetti\Lab\Khiva\MyPythonSamples\HelloKhiva>python main.py
array
[8 1 1 1]
    1.0000
    2.0000
    3.0000
    4.0000
    5.0000
    6.0000
    7.0000
    8.0000

Traceback (most recent call last):
  File "main.py", line 7, in <module>
    a.display()
  File "C:\Anaconda3\lib\site-packages\khiva\array.py", line 323, in display
    KhivaLibrary().c_khiva_library.display(ctypes.pointer(self.arr_reference))
OSError: exception: access violation writing 0x00007FFE94CB180A

Environment information:

  • OS: Windows 10
  • Version 0.3.0

Khiva Python Bindings not passing all unit tests

Describe the bug
Khiva Python Bindings not passing all unit tests. Problems include seg fault or is not able to find required library in khiva function call.

To Reproduce
Build khiva from source, install. Run install script to generate python bindings. Run unit tests from this repo.

Expected behavior
All tests should pass.

Environment information:
Ubuntu 18.04.4 LTS
Python 3.6.9
Conan version 1.23.0
ArrayFire-v3.6.2

Additional context
I joined the Gitter, it may be easier to continue the conversation there.
Saw no errors during installation of both khiva and the python bindings. Prerequisites were installed prior to installing khiva.

Improve packaging

Use of Khiva Python requires a lot of previous installation of Arrayfire and other dependencies.
We could try to bundle most of the dependencies (Arrayfire at least) in order to make life easier to our users.

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.