bitstormfa / arrayfire-nim Goto Github PK
View Code? Open in Web Editor NEWA Nim Wrapper for ArrayFire
License: BSD 3-Clause "New" or "Revised" License
A Nim Wrapper for ArrayFire
License: BSD 3-Clause "New" or "Revised" License
Hi @bitstormFA ,
Last time, I checked your repo it was archived so in the meantime I forked it here https://github.com/SciNim/Arrayfire-Nim to keep the bindings but also build a higher level API on top of the C++ one.
I don't know your plan for this repo, but how would you feel to collaborate instead of splitting effort on the same project ?
How we proceed is up to you, we can keep your repo as base or move it to the SciNim org (and make you a member, we're always happy to have more people ;) ) or the other way around . Either is fine with me.
The idea is to create a type
type
AFTensor*[T] = object
array*: AFArray
dtype*: Dtype
to act as a generic tensor type with a bunch of "trampoline" function.
I just installed ArrayfireNim and compiled with nim cpp -r test.nim
and I get this error:
C:\Users\general_riskin\.nimble\pkgs\ArrayFireNim-0.2.1\ArrayFireNim.nim(824, 1) Error: redefinition of '+='; previous declaration here: C:\Users\general_riskin\.nimble\pkgs\ArrayFireNim-0.2.1\ArrayFireNim.nim(812, 6)
.
All test.nim has in it is import ArrayFireNim
.
I am trying to use this library, however it seg faults on program exit, all the prior code is fine. It looks like a memory management or GC issue. Any ideas?
ArrayFire v3.6.4 (OpenCL, 64-bit Mac OSX, build 1b8030c5)
[0] APPLE: AMD Radeon Pro Vega 64 Compute Engine, 16368 MB
past
Traceback (most recent call last)
SIGSEGV: Illegal storage access. (Attempt to read from nil?)00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.