Giter Club home page Giter Club logo

Comments (5)

sjkelly avatar sjkelly commented on June 12, 2024

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.

sjkelly avatar sjkelly commented on June 12, 2024

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.

sjkelly avatar sjkelly commented on June 12, 2024

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.

sjkelly avatar sjkelly commented on June 12, 2024

@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.

sjkelly avatar sjkelly commented on June 12, 2024

👍

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)

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.