Comments (6)
This looks like something that could be really useful! Thanks for setting this up!
from librapid.
I should probably do this at some point... gotta clean things up first but I have not forgotten this :)
from librapid.
There's one slight problem with the conan package.
Currently, there's no CUDA recipe for conan due to the licensig issue of redistributing CUDA binaries. Also, conan (conan-center-index) does not allow the redistribution of pre-built libraries, everything must be built from sources.
I could provide a conan recipe for librapid, but by the first look, some modules may not be supported out of the box via conan central repository.
from librapid.
I haven't yet had enough time to look into Conan and what it supports/allows, but other than CUDA and OpenBLAS, all of LibRapid can be compiled from source. The prebuilt OpenBLAS binaries are cloned from https://github.com/LibRapid/BuildOpenBLAS which periodically updates and updates the code. If Conan supports cloning git repos, this should be fine (?).
With regards to CUDA, I think packaging the binaries directly would be a bad idea due to device incompatibilities and the fact that the CUDA binaries are well over 1GB. Would it be possible to simply link with CUDA if it's detected on the system already? That's what the current CMakeLists.txt
script does.
But yea, if you could set up a Conan recipe that'd be awesome!
from librapid.
I see that conan recipe openBLAS already exists, therefore this shouldn't be a problem.
Regarding CUDA, we can leave an option for conan recipe, which lets user enable it and compile with CUDA, but the default conan recipe must keep it disabled.
I'll take a look the next week :)
from librapid.
Awesome! Let me know how it goes and if I can help with anything.
I may clean up the CMakeLists file soon as well, but the logic will remain the same. Not sure if that affects anything but thought I'd let you know.
from librapid.
Related Issues (20)
- Array-Scalar Operations
- Update benchmarks HOT 2
- Switch back to RTD for documentation
- Improve performance of array subscript operator HOT 1
- Create Array object from existing data HOT 1
- Update CudaStorage and FixedStorage to match functionality of Storage
- Remove FixedStorage type? (See #167) HOT 1
- Fourrier Transform Support HOT 1
- Improve Release System [ Help Wanted! ]
- Array iterators
- Array GEAM (General Add Matrix)
- Rename Storage `begin()` operator HOT 1
- Reduction operations (sum, prod, etc.)
- Test Issue
- Cannot print CUDA Ref with FMT
- Inplace operators
- Remove Invalid Memory Warning from Documentation
- OpenCL Support on MacOS (Mx)
- OpenCL GeneralArrayView
- Assertions, Warnings and Errors should be functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librapid.