Giter VIP home page Giter VIP logo

Comments (5)

4ctrl-alt-del avatar 4ctrl-alt-del commented on August 29, 2024 1

The MPI virtual functions will be OpenCL neutral, so you can use OpenCL or not. You would test if OpenCL is available with if ( EOpenCLDevice::getInstance().getStatus() == Ok ) { /* Do OpenCL stuff / } else { / DO serial stuff */ }

from kinc.

4ctrl-alt-del avatar 4ctrl-alt-del commented on August 29, 2024

That is exactly what I am working on right now. It is still in the research/test assumptions stage so I can make no promises but I know what I would like to do;

Basically ACE will handle MPI behind the scenes so a developer using ACE does not have to worry about it. The general functions I will be shooting for are these;

bool buildWorkPackage(QByteArray* package);
Build a package of work to be done on a node, return false if there is no more work to be done else return true.
void processWorkPackage(const QByteArray& package);
Process the work a node has done.
QByteArray workPackage(cosnt QByteArray& package);
As a work node do the work given by package and save the results as the return byte array.

So with that the manager(first) node will use buildWorkPackage() and processWorkPackage(). Each worker node will run workPackage().

This is all off the top of my head and the function names may change but that is the general idea I am working on right now.

from kinc.

bentsherman avatar bentsherman commented on August 29, 2024

Okay, yeah I think it's a good idea to incorporate it within ACE. I'll be ready to test whatever API you come up with on the clustering analytics whenever it comes out, assuming the idea works.

from kinc.

bentsherman avatar bentsherman commented on August 29, 2024

Here's another question I was wondering about: when each node receives it's piece of work, will it be free to process it using serial code or OpenCL? As opposed to forcing every node to use one or the other uniformly?

I ask because if it can be heterogeneous, we could utilize more nodes on a cluster like Palmetto, which has both CPU nodes and GPU nodes.

from kinc.

bentsherman avatar bentsherman commented on August 29, 2024

The GMM analytic now has MPI support, and each slave node is able to run OpenCL or serial based on availability. Continuing this thread in the ACE issue.

from kinc.

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.