D-Matrix41 open jobs

Principal Software Engineer, Kernels

Systems, C++ and performancePosted over 2 months agofrom D-Matrix's own hiring page

Work type
RemoteIn the US
Experience
12+ years
Pay
$195k–285k a year
Posted
Over 2 months agoOpen 4 months
Before you apply: make your resume fit this job

Skills it mentions

Nice to have

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Machine learning, C, C++ and 7 more

About the job

Join d-Matrix and help build the future of AI inference. We’ve pioneered a memory-centric architecture that brings compute directly into memory, making AI faster, more energy efficient, and accessible on a global scale. From chips and software to rack-scale systems, our team is tackling some of AI infrastructure’s hardest challenges — and shipping breakthrough technology today. If you want to create what comes next and help make infinite inference possible, we’d love to hear from you.

Our culture is built on respect, collaboration, and direct communication. We value humility, we believe our different perspectives lead to better solutions, and we’re looking for people who are driven by execution and energized by hard problems.

Location:

Hybrid, working onsite at our Santa Clara, CA, headquarters 3-5 days per week.

The Role: Principal Software Engineer, Kernels

What you will do:

The role requires you to be part of the team that helps productize the SW stack for our AI compute engine. As part of the software team, you will be responsible for the development, enhancement, and maintenance of software kernels for next-generation AI hardware. You possess experience building software kernels for HW architectures. You possess a very strong understanding of various hardware architectures and how to map algorithms to the architecture. You understand how to map computational graphs generated by AI frameworks to the underlying architecture. You have had past experience working across all aspects of the full-stack toolchain and understand the nuances of what it takes to optimize and trade off various aspects of hardware-software co-design. You can build and scale software deliverables in a tight development window. You will work with a team of compiler experts to build out the compiler infrastructure, working closely with other software (ML, systems) and hardware (mixed signal, DSP, CPU) experts in the company.

What you will bring:

Minimum:

  • MS in computer engineering, math, physics, or a related degree with 12+ years of industry experience or a PhD in computer engineering, math, physics, or a related degree with 7+ years of industry experience.

  • Strong grasp of computer architecture, data structures, system software, and machine learning fundamentals.

  • Proficient in C/C++ and Python development in Linux environments and using standard development tools.

  • Experience implementing algorithms in high-level languages such as C/C++ and Python.

  • Experience implementing algorithms for specialized hardware such as FPGAs, DSPs, GPUs, and AI accelerators using libraries such as CUDA, etc.

  • Experience in implementing operators commonly used in ML workloads—GEMMs, Convolutions, BLAS, SIMD operators for operations like softmax, layer normalization, pooling, etc.

  • Experience with development for embedded SIMD vector processors such as Tensilica.

  • Self-motivated team player with a strong sense of ownership and leadership.

Preferred:

  • Prior startup, small team, or incubation experience.

  • Experience with ML frameworks such as TensorFlow and/orPyTorch.

  • Experience working with ML compilers and algorithms, such as MLIR, LLVM, TVM, Glow, etc.

  • Experience with a deep learning framework (such as PyTorch or TensorFlow) and ML models for CV, NLP, or recommendation.

  • Work experience at a cloud provider or AI compute/subsystem company.

Equal Opportunity Employment Policy

d-Matrix is proud to be an equal opportunity workplace and affirmative action employer. We’re committed to fostering an inclusive environment where everyone feels welcomed and empowered to do their best work. We hire the best talent for our teams, regardless of race, religion, color, age, disability, sex, gender identity, sexual orientation, ancestry, genetic information, marital status, national origin, political affiliation, or veteran status. Our focus is on hiring teammates with humble expertise, kindness, dedication, and a willingness to embrace challenges and learn together every day.

d-Matrix does not accept resumes or candidate submissions from external agencies. We appreciate the interest and effort of recruitment firms, but we kindly request that individuals interested in opportunities with d-Matrix apply directly through our official channels. This approach allows us to streamline our hiring processes and maintain a consistent and fair evaluation of all applicants. Thank you for your understanding and cooperation.

1 more opening for this job

D-Matrix posts this job once per place or skill set. Pick the one that fits you.

Interested?Principal Software Engineer, Kernels at D-Matrix

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Machine learning, C, C++ and 7 more

Interview questions for this job

For the skills the ad mentions: Machine learning, C, C++, Python, TensorFlow, Linux, Embedded systems, Deep learning, PyTorch and NLP.

876 questions
  • How does the Google "Did you mean?" Algorithm work?Machine learning

    Here's the explanation directly from the source ( almost )

    Search 101!

    at min 22:03

    Worth watching!

    Basically and according to Douglas Merrill former CTO of Google it is like this:

    1) You write a ( misspelled ) word in google

    2) You don't find what you wanted ( don't click on any results )

    3) You realize you misspelled the word so you rewrite the word in the search box.

    4) You find what you want ( you click in the first links )

    This pattern multiplied millions of times, shows what are the most common misspells and what are the most "common" corrections.

    This way Google can almost instantaneously, offer spell correction in every language.

    Also this means if overnight everyone start to spell night as "nigth" google would suggest that word instead.

    EDIT

    @ThomasRutter: Douglas describe it as "statistical machine learning".

    They know who correct the query, because they know which query comes from which user ( using cookies )

    If the users perform a query, and only 10% of the users click on a result and 90% goes back and type another query ( with the corrected word ) and this time that 90% clicks on a result, then they know they have found a correction.

    They can also know if those are "related" queries of two different, because they have information of all the links they show.

    Furthermore, they are now including the context into the spell check, so they can even suggest different word depending on the context.

    See this demo of google wave ( @ 44m 06s ) that shows how the context is taken into account to automatically correct the spelling.

    Here it is explained how that natural language processing works.

    And finally here is an awesome demo of what can be done adding automatic machine translation ( @ 1h 12m 47s ) to the mix.

    I've added anchors of minute and seconds to the videos to skip directly to the content, if they don't work, try reloading the page or scrolling by hand to the mark.

    From Stack Overflow: asked by Andrew Harry, answered by OscarRyz (CC BY-SA 2.5)

  • Why use apparently meaningless do-while and if-else statements in macros?C

    The do ... while and if ... else are there to make it so that a semicolon after your macro always means the same thing. Let's say you had something like your second macro.

    #define BAR(X) f(x); g(x)
    

    Now if you were to use BAR(X); in an if ... else statement, where the bodies of the if statement were not wrapped in curly brackets, you'd get a bad surprise.

    if (corge)
      BAR(corge);
    else
      gralt();
    

    The above code would expand into

    if (corge)
      f(corge); g(corge);
    else
      gralt();
    

    which is syntactically incorrect, as the else is no longer associated with the if. It doesn't help to wrap things in curly braces within the macro, because a semicolon after the braces is syntactically incorrect.

    if (corge)
      {f(corge); g(corge);};
    else
      gralt();
    

    There are two ways of fixing the problem. The first is to use a comma to sequence statements within the macro without robbing it of its ability to act like an expression.

    #define BAR(X) f(X), g(X)
    

    The above version of bar BAR expands the above code into what follows, which is syntactically correct.

    if (corge)
      f(corge), g(corge);
    else
      gralt();
    

    This doesn't work if instead of f(X) you have a more complicated body of code that needs to go in its own block, say for example to declare local variables. In the most general case the solution is to use something like do ... while to cause the macro to be a single statement that takes a semicolon without confusion.

    #define BAR(X) do { \
      int i = f(X); \
      if (i > 4) g(i); \
    } while (0)
    

    You don't have to use do ... while, you could cook up something with if ... else as well, although when if ... else expands inside of an if ... else it leads to a "dangling else", which could make an existing dangling else problem even harder to find, as in the following code.

    if (corge)
      if (1) { f(corge); g(corge); } else;
    else
      gralt();
    

    The point is to use up the semicolon in contexts where a dangling semicolon is erroneous. Of course, it could (and probably should) be argued at this point that it would be better to declare BAR as an actual function, not a macro.

    In summary, the do ... while is there to work around the shortcomings of the C preprocessor. When those C style guides tell you to lay off the C preprocessor, this is the kind of thing they're worried about.

    From Stack Overflow: asked by jfm3, answered by jfm3 (CC BY-SA 4.0)

  • What is the copy-and-swap idiom?C++

    Overview

    Why do we need the copy-and-swap idiom?

    Any class that manages a resource (a wrapper, like a smart pointer) needs to implement The Big Three. While the goals and implementation of the copy-constructor and destructor are straightforward, the copy-assignment operator is arguably the most nuanced and difficult. How should it be done? What pitfalls need to be avoided?

    The copy-and-swap idiom is the solution, and elegantly assists the assignment operator in achieving two things: avoiding code duplication, and providing a strong exception guarantee.

    How does it work?

    Conceptually, it works by using the copy-constructor's functionality to create a local copy of the data, then takes the copied data with a swap function, swapping the old data with the new data. The temporary copy then destructs, taking the old data with it. We are left with a copy of the new data.

    In order to use the copy-and-swap idiom, we need three things: a working copy-constructor, a working destructor (both are the basis of any wrapper, so should be complete anyway), and a swap function.

    A swap function is a non-throwing function that swaps two objects of a class, member for member. We might be tempted to use std::swap instead of providing our own, but this would be impossible; std::swap uses the copy-constructor and copy-assignment operator within its implementation, and we'd ultimately be trying to define the assignment operator in terms of itself!

    (Not only that, but unqualified calls to swap will use our custom swap operator, skipping over the unnecessary construction and destruction of our class that std::swap would entail.)

    An in-depth explanation

    The goal

    Let's consider a concrete case. We want to manage, in an otherwise useless class, a dynamic array. We start with a working constructor, copy-constructor, and destructor:

    #include <algorithm> // std::copy
    #include <cstddef> // std::size_t
    class dumb_array
    {
    public:
        // (default) constructor
        dumb_array(std::size_t size = 0)
            : mSize(size),
              mArray(mSize ? new int[mSize]() : nullptr)
        {
        }
        // copy-constructor
        dumb_array(const dumb_array& other)
            : mSize(other.mSize),
              mArray(mSize ? new int[mSize] : nullptr)
        {
            // note that this is non-throwing, because of the data
            // types being used; more attention to detail with regards
            // to exceptions must be given in a more general case, however
            std::copy(other.mArray, other.mArray + mSize, mArray);
        }
        // destructor
        ~dumb_array()
        {
            delete [] mArray;
        }
    private:
        std::size_t mSize;
        int* mArray;
    };
    

    This class almost manages the array successfully, but it needs operator= to work correctly.

    A failed solution

    Here's how a naive implementation might look:

    // the hard part
    dumb_array& operator=(const dumb_array& other)
    {
        if (this != &other) // (1)
        {
            // get rid of the old data...
            delete [] mArray; // (2)
            mArray = nullptr; // (2) *(see footnote for rationale)
            // ...and put in the new
            mSize = other.mSize; // (3)
            mArray = mSize ? new int[mSize] : nullptr; // (3)
            std::copy(other.mArray, other.mArray + mSize, mArray); // (3)
        }
        return *this;
    }
    

    And we say we're finished; this now manages an array, without leaks. However, it suffers from three problems, marked sequentially in the code as (n).

    Read the rest at the sourceFrom Stack Overflow: asked by GManNickG, answered by GManNickG (CC BY-SA 4.0)

  • Does Python have a string 'contains' substring method?Python

    Use the in operator:

    if "blah" not in somestring: 
        continue
    

    Note: This is case-sensitive.

    From Stack Overflow: asked by Blankman, answered by Michael Mrozek (CC BY-SA 4.0)

  • Should we do learning rate decay for adam optimizerTensorFlow

    It depends. ADAM updates any parameter with an individual learning rate. This means that every parameter in the network has a specific learning rate associated.

    But the single learning rate for each parameter is computed using lambda (the initial learning rate) as an upper limit. This means that every single learning rate can vary from 0 (no update) to lambda (maximum update).

    It's true, that the learning rates adapt themselves during training steps, but if you want to be sure that every update step doesn't exceed lambda you can than lower lambda using exponential decay or whatever. It can help to reduce loss during the latest step of training, when the computed loss with the previously associated lambda parameter has stopped to decrease.

    From Stack Overflow: asked by meng lin, answered by nessuno (CC BY-SA 4.0)

  • What do you know about our company?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: C++ and systems jobs in San Francisco Bay Area (50), Jobs in San Francisco Bay Area (9,193), C++ and systems jobs in the USA (107) and Remote C++ and systems jobs in the USA (54)