Comments (5)
It should be trivial to support threads. In the meantime, the OpenCL requirement should be soft, since it doesn't support all geometries yet and I also have issues with running on Intel Iris.
In the meantime do you have mesa-opencl-icd installed? Also, which GPU do you have?
from descartes.jl.
The problem is that the OpenCL back end is not very abstract. It is a kernel compiler and not a transpiler, so some geometries are unsupported in the OpenCL back end. I only can run it on one out of three of my development environments. I have multithreadin and SIMD working now which had very nice performance gains of 12x on 4 threads. This puts it within the same order of magnitude as the GPU performance for most geometries. The bottleneck is still the meshing component, but I have run into some bugs in the multithreading paradigms with the meshing algorithms that may block this.
from descartes.jl.
Also OpenMPI is very good alternative for very high resolution solid models. From what I understand Julia has a native distributed arrays mechanism that is similar to OpenMPI.
Still the bottleneck will be the memory use in the current implementation. I have some ideas to minimize the memory allocation from nxnynz to nxny2, but I have to rework Meshing.jl before that is possible.
from descartes.jl.
@scheming-pony if you want to checkout the sjk/simp
branch and checkout master for Meshing
, this should work now. I'm shaking down Meshing a little longer before I tag a new release and merge my branch into Descartes.
from descartes.jl.
I am hoping to add some docs soon for the user-facing API. There will be some code churn in everything else. Please let me know if you have and questions or feature requests.
from descartes.jl.
Related Issues (20)
- General Type Refactor HOT 1
- Ignore Specialization?
- BOM Generator
- Oct Tree sampling and Autodiff HOT 1
- OpenSCAD Feature Parity
- Beignet Worksize trial-and-error bug HOT 2
- Resolution should be dependent on AABB size HOT 1
- Renderer Independent Design HOT 4
- Differentiable Geometry
- set operation names
- Primitive/Operation Requests HOT 3
- Rounded Square/Cube (general filet operation?)
- Fewer Vendorized Types HOT 1
- 1.6-era rewrite
- TagBot trigger issue HOT 1
- evaluate FRep at vector of inputs HOT 3
- add normals
- Translation does not appear to be idiomatic Julia HOT 1
- UndefVarError: HomogenousMesh not defined HOT 1
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 descartes.jl.