Skip to main content
T0 Big tech Baidu

Baidu AI Infra (2)

Real Baidu AI Infra interview questions covering operator optimization

Operator optimization

Round 1

Theory

  1. In OpenMP, how do you open a parallel region? Write the basic syntax.
  2. Does the loop for(int i=0;i<100;i++){sum++;} produce the same result in a parallel region vs serial? How do you keep parallel results correct?
  3. Describe the GPU memory hierarchy, including the sharing scope of each level.
  4. What cache-mapping methods exist, and what are their traits?
  5. What smart-pointer types exist in C++, and when does each fit?
  6. What is polymorphism? How does C++ implement it?
  7. Distinguish dynamic linking from dynamic binding.

Project deep dive

  1. Introduce resume projects, and go deep on the technical points involved.
  2. What did you mainly study in high-performance computing? Have you touched large-scale compute systems?