T0 Big tech Baidu
Baidu AI Infra (2)
Real Baidu AI Infra interview questions covering operator optimization
Operator optimization
Round 1
Theory
- In OpenMP, how do you open a parallel region? Write the basic syntax.
- 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? - Describe the GPU memory hierarchy, including the sharing scope of each level.
- What cache-mapping methods exist, and what are their traits?
- What smart-pointer types exist in C++, and when does each fit?
- What is polymorphism? How does C++ implement it?
- Distinguish dynamic linking from dynamic binding.
Project deep dive
- Introduce resume projects, and go deep on the technical points involved.
- What did you mainly study in high-performance computing? Have you touched large-scale compute systems?