micro1231 open jobs

GPU Programming Software Engineer

Systems, C++ and performancePosted 2 weeks agovia Himalayas, a remote job board

Work type
RemoteOpen worldwide
Experience
Not stated
Pay
Not listed
Posted
2 weeks ago
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 C++, LLMs and GenAI and Machine learning

About the job

Role Title: GPU Programmer Software Engineer

Role Type: Contractor

Location: Remote

In this role, you will apply your expertise as a GPU programmer to design GPU related tasks to train LLMs, focusing on performance and architecture.

Scope of Work

  1. Design, implement, and optimize GPU-based software solutions using CUDA, WebGPU or GLSL.
  2. Profile and fine-tune GPU kernels and shaders for maximum performance and efficiency.
  3. Develop host-side logic and integrations in C++

Preferred Qualifications

  1. Advanced experience with any GPU programming language that can run on NVIDIA chips.
  2. Background in either Graphics Programming, ML acceleration, Scientific Computing, High Performance Computing, or any other domain using GPU technologies.
  3. Proficiency in C++

Compensation Structure

Compensation is output-based; experts are paid per task that meets the project specifications. The time required to complete work may vary depending on the expert’s experience and workflow. Minimum submission requirements apply. Experts must submit a minimum of tasks per week.

Start Timeline & Availability

We typically fill roles within 48 hours and are looking for experts ready to jump in right away. If selected, we expect you to start your first tasks within 24–48 hours of completing onboarding.

Originally posted on Himalayas

Interested?GPU Programming Software Engineer at micro1

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on C++, LLMs and GenAI and Machine learning

Interview questions for this job

For the skills the ad mentions: C++, LLMs and GenAI and Machine learning.

438 questions
  • What are the differences between a pointer variable and a reference variable?C++
    1. A pointer can be re-assigned:

      int x = 5;
      int y = 6;
      int *p;
      p = &x;
      p = &y;
      *p = 10;
      assert(x == 5);
      assert(y == 10);
      

      A reference cannot be re-bound, and must be bound at initialization:

      int x = 5;
      int y = 6;
      int &q; // error
      int &r = x;
      
    2. A pointer variable has its own identity: a distinct, visible memory address that can be taken with the unary & operator and a certain amount of space that can be measured with the sizeof operator. Using those operators on a reference returns a value corresponding to whatever the reference is bound to; the reference’s own address and size are invisible. Since the reference assumes the identity of the original variable in this way, it is convenient to think of a reference as another name for the same variable.

      int x = 0;
      int &r = x;
      int *p = &x;
      int *p2 = &r;
      assert(p == p2); // &x == &r
      assert(&p != &p2);
      
    3. It is possible to create a pointer to a pointer, but not a pointer to a reference.

       int **pp; // OK, pointer to pointer
       int &*pr; // ill-formed, pointer to reference
      
    4. It is possible to create an array of pointers, but not an array of references.

      int *ap[]; // OK, array of pointers
      int &ar[]; // ill-formed, array of references
      
    5. You can have arbitrarily nested pointers to pointers offering extra levels of indirection. References only offer one level of indirection because references to references collapse.

      int x = 0;
      int y = 0;
      int *p = &x;
      int *q = &y;
      int **pp = &p;
      **pp = 2;
      pp = &q; // *pp is now q
      **pp = 4;
      assert(y == 4);
      assert(x == 2);
      
    6. A pointer can be assigned nullptr, whereas a reference must be bound to an existing object. If you try hard enough, you can bind a reference to nullptr, but this is undefined and will not behave consistently.

      /* the code below is undefined; your compiler may optimise it
       * differently, emit warnings, or outright refuse to compile it */
      int &r = *static_cast<int *>(nullptr);
      // prints "null" under GCC 10
      std::cout
          << (&r != nullptr
              ? "not null" : "null")
          << std::endl;
      bool f(int &r) { return &r != nullptr; }
      // prints "not null" under GCC 10
      std::cout
          << (f(*static_cast<int *>(nullptr))
              ? "not null" : "null")
          << std::endl;
      

      You can, however, have a reference to a pointer whose value is nullptr.

    7. Pointers are ContiguousIterators (of an array). You can use ++ to go to the next item that a pointer is pointing to, and + 4 to go to the 5th element.

    8. A pointer needs to be dereferenced with * to access the object it points to, whereas a reference can be used directly. A pointer to a class/struct uses -> to access its members whereas a reference uses a ..

    9. Const references and rvalue references can be bound to temporaries (see temporary materialization). Pointers cannot (not without some indirection):

      const int &x = int(12); // legal C++
      int *y = &int(12); // illegal to take the address of a temporary.
      

      This makes const & more convenient to use in argument lists and so forth.

    From Stack Overflow: asked by prakash, answered by Brian R. Bondy (CC BY-SA 4.0)

  • Tell me the basic steps involved in running an inference query on an LLM.LLMs and GenAI

    Running an inference query on an LLM involves the following steps:

    • Tokenization: The input text is first broken down into tokens, and then the tokens are mapped to their IDs in the model’s vocabulary.

    • Prefill Phase: The embedding layer converts these token IDs into embeddings, and then the decoder layers process these embeddings simultaneously to compute intermediate states (keys and values). This parallel processing establishes the context for generating new tokens.

    • Decoding Phase: The model generates output tokens one at a time autoregressively, each based on previously generated tokens and cached states, continuing until a stopping condition is met.

    • Detokenization: Finally, the generated tokens are converted back into human-readable text.

    From LLM Interview Questions and Answers Hub (Apache 2.0)

  • What is the difference between data mining, statistics, machine learning and AI?Machine learning

    There is considerable overlap among these, but some distinctions can be made. Of necessity, I will have to over-simplify some things or give short-shrift to others, but I will do my best to give some sense of these areas.

    Firstly, Artificial Intelligence is fairly distinct from the rest. AI is the study of how to create intelligent agents. In practice, it is how to program a computer to behave and perform a task as an intelligent agent (say, a person) would. This does not have to involve learning or induction at all, it can just be a way to 'build a better mousetrap'. For example, AI applications have included programs to monitor and control ongoing processes (e.g., increase aspect A if it seems too low). Notice that AI can include darn-near anything that a machine does, so long as it doesn't do it 'stupidly'.

    In practice, however, most tasks that require intelligence require an ability to induce new knowledge from experiences. Thus, a large area within AI is machine learning. A computer program is said to learn some task from experience if its performance at the task improves with experience, according to some performance measure. Machine learning involves the study of algorithms that can extract information automatically (i.e., without on-line human guidance). It is certainly the case that some of these procedures include ideas derived directly from, or inspired by, classical statistics, but they don't have to be. Similarly to AI, machine learning is very broad and can include almost everything, so long as there is some inductive component to it. An example of a machine learning algorithm might be a Kalman filter.

    Data mining is an area that has taken much of its inspiration and techniques from machine learning (and some, also, from statistics), but is put to different ends. Data mining is carried out by a person, in a specific situation, on a particular data set, with a goal in mind. Typically, this person wants to leverage the power of the various pattern recognition techniques that have been developed in machine learning. Quite often, the data set is massive, complicated, and/or may have special problems (such as there are more variables than observations). Usually, the goal is either to discover / generate some preliminary insights in an area where there really was little knowledge beforehand, or to be able to predict future observations accurately. Moreover, data mining procedures could be either 'unsupervised' (we don't know the answer--discovery) or 'supervised' (we know the answer--prediction). Note that the goal is generally not to develop a more sophisticated understanding of the underlying data generating process. Common data mining techniques would include cluster analyses, classification and regression trees, and neural networks.

    I suppose I needn't say much to explain what statistics is on this site, but perhaps I can say a few things. Classical statistics (here I mean both frequentist and Bayesian) is a sub-topic within mathematics. I think of it as largely the intersection of what we know about probability and what we know about optimization. Although mathematical statistics can be studied as simply a Platonic object of inquiry, it is mostly understood as more practical and applied in character than other, more rarefied areas of mathematics. As such (and notably in contrast to data mining above), it is mostly employed towards better understanding some particular data generating process. Thus, it usually starts with a formally specified model, and from this are derived procedures to accurately extract that model from noisy instances (i.e., estimation--by optimizing some loss function) and to be able to distinguish it from other possibilities (i.e., inferences based on known properties of sampling distributions). The prototypical statistical technique is regression.

    From Cross Validated: asked by Olivier Lalonde, answered by gung - Reinstate Monica (CC BY-SA 3.0)

  • What is the '-->' operator in C/C++?C++

    --> is not an operator. It is in fact two separate operators, -- and >.

    The code in the condition decrements x, while returning x's original (not decremented) value, and then compares the original value with 0 using the > operator.

    To better understand, the statement could be written as follows:

    while( (x--) > 0 )
    

    From Stack Overflow: asked by GManNickG, answered by Charles Salvia (CC BY-SA 4.0)

  • Explain the impact of the decoding strategy on LLM-generated output quality and latency.LLMs and GenAI

    Decoding strategies critically impact LLM output by balancing quality (coherence, diversity, and relevance) and latency (generation speed). Deterministic methods like Greedy Search are fast due to selecting the highest probability token at each step but often yield repetitive, lower-quality text. Beam Search improves quality by exploring multiple token sequences but increases latency due to managing several beams.

    Stochastic decoding methods, such as Top-k or Top-p (nucleus) sampling, generate text token by token, choosing each next token probabilistically rather than deterministically. While this increases creativity and diversity, it also introduces extra computational overhead (sorting or cumulative sum) at every decoding step, which increases latency.

    Newer, faster techniques like Speculative Decoding reduce latency by using a smaller model to draft tokens, which the larger model verifies in parallel, offering significant speedups while aiming to preserve the high output quality of the original model.

    From LLM Interview Questions and Answers Hub (Apache 2.0)

  • Have you ever failed at a task?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

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

More jobs like this

Remote C++ and systems jobs (11)