Verification Engineer, Performance
Embedded and hardwarePosted over 2 months agofrom NVIDIA's own hiring page
- Work type
- HybridBengaluru
- Experience
- 3+ years
- Pay
- Not listedUsually ₹5.9 LPAEmbedded and hardware, median at 1–4 years, in India (Payscale)
- Posted
- Over 2 months agoOpen 5 months
From the ad
Degree or equivalent experience
Master's or Bachelor's degree in EE/CS or equivalent experience
Skills it mentions
Add your skills to see which ones you have.
About the job
We are now looking to hire strong performance verification engineers with a sharp understanding of CPU and memory architecture. NVIDIA makes some of the fastest CPUs in the world and is solving problems, with its vast arsenal of CPUs, GPUs and SW, in areas such as High-performance computing, Automated driving, Medical imaging and much more! We are seeking highly motivated engineers to join this dynamic and innovative team that owns performance alignment of CPUs and CPU fabrics made by NVIDIA! Do you want to be part of the team that explores and defines the next generation of CPUs?
What will you be doing:
Responsibilities will include development of test plans and strategies, develop simulation environments, system bring-up, validation, and automation to deliver best-in-class CPUs.
Develop and maintain CPU simulator infrastructure, hardware CPU test and performance infrastructure.
Analyze and validate CPU and fabric performance, helping to understand current, and guide the development of future CPU products.
Definition and development of tool chain and workflows that enables the full system performance alignment.
Silicon based competitive analysis of NVIDIA CPUs.
What we need to see:
Master's or Bachelor's degree in EE/CS or equivalent experience
3+ years of experience preferably in the areas of CPU / SOC Performance Verification and Analysis
Strong understanding of computer system architecture and operating system fundamentals.
Hands-on experience with HDLs such as Verilog / System Verilog.
Knowledge of verification methodologies and tools for IP and SoC level verification.
Experience with System Verilog, C/C++, Python languages and relevant frameworks.
Background with debug on Silicon.
Ways to stand out from the crowd:
Detailed knowledge of the ARM and/or x-86 architecture.
Prior experience with performance analysis of CPUs.
Experience with analysis and characterization of CPU workloads.
NVIDIA is committed to fostering a diverse work environment and proud to be an equal opportunity employer. As we highly value diversity in our current and future employees, we do not discriminate (including in our hiring and promotion practices) on the basis of race, religion, color, national origin, gender, gender expression, sexual orientation, age, marital status, veteran status, disability status or any other characteristic protected by law.
#LI-Hybrid
Interested?Verification Engineer, Performance at NVIDIA
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on C, C++ and Python
Interview questions for this job
For the skills the ad mentions: C, C++ and Python.
What is the difference between a definition and a declaration?C
A declaration introduces an identifier and describes its type, be it a type, object, or function. A declaration is what the compiler needs to accept references to that identifier. These are declarations:
extern int bar; extern int g(int, int); double f(int, double); // extern can be omitted for function declarations class foo; // no extern allowed for type declarationsA definition actually instantiates/implements this identifier. It's what the linker needs in order to link references to those entities. These are definitions corresponding to the above declarations:
int bar; int g(int lhs, int rhs) {return lhs*rhs;} double f(int i, double d) {return i+d;} class foo {};A definition can be used in the place of a declaration.
An identifier can be declared as often as you want. Thus, the following is legal in C and C++:
double f(int, double); double f(int, double); extern double f(int, double); // the same as the two above extern double f(int, double);However, it must be defined exactly once. If you forget to define something that's been declared and referenced somewhere, then the linker doesn't know what to link references to and complains about a missing symbols. If you define something more than once, then the linker doesn't know which of the definitions to link references to and complains about duplicated symbols.
Since the debate what is a class declaration vs. a class definition in C++ keeps coming up (in answers and comments to other questions) , I'll paste a quote from the C++ standard here.
At 3.1/2, C++03 says:A declaration is a definition unless it [...] is a class name declaration [...].
3.1/3 then gives a few examples. Amongst them:
[Example: [...] struct S { int a; int b; }; // defines S, S::a, and S::b [...] struct S; // declares S —end exampleTo sum it up: The C++ standard considers
struct x;to be a declaration andstruct x {};a definition. (In other words, "forward declaration" a misnomer, since there are no other forms of class declarations in C++.)Thanks to litb (Johannes Schaub) who dug out the actual chapter and verse in one of his answers.
From Stack Overflow: asked by Maciek, answered by sbi (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 returningx's original (not decremented) value, and then compares the original value with0using 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)
How do I convert a string to a number?Python
For integers, use the built-in
int()type constructor, for example,int('144') == 144. Similarly,float()converts to a floating-point number, for example,float('144') == 144.0.By default, these interpret the number as decimal, so that
int('0144') == 144holds true, andint('0x144')raisesValueError.int(string, base)takes the base to convert from as a second optional argument, soint( '0x144', 16) == 324. If the base is specified as 0, the number is interpreted using Python’s rules: a leading ‘0o’ indicates octal, and ‘0x’ indicates a hex number.Do not use the built-in function
eval()if all you need is to convert strings to numbers.eval()will be significantly slower and it presents a security risk: someone could pass you a Python expression that might have unwanted side effects. For example, someone could pass__import__('os').system("rm -rf $HOME")which would erase your home directory.eval()also has the effect of interpreting numbers as Python expressions, so that, for example,eval('09')gives a syntax error because Python does not allow leading ‘0’ in a decimal number (except ‘0’).From Python Frequently Asked Questions (PSF License Version 2)
Obfuscated C Code Contest 2006. Please explain sykes2.cC
Let's de-obfuscate it.
Indenting:
main(_) { _^448 && main(-~_); putchar(--_%64 ? 32 | -~7[__TIME__-_/8%8][">'txiZ^(~z?"-48] >> ";;;====~$::199"[_*2&8|_/64]/(_&2?1:8)%8&1 : 10); }Introducing variables to untangle this mess:
main(int i) { if(i^448) main(-~i); if(--i % 64) { char a = -~7[__TIME__-i/8%8][">'txiZ^(~z?"-48]; char b = a >> ";;;====~$::199"[i*2&8|i/64]/(i&2?1:8)%8; putchar(32 | (b & 1)); } else { putchar(10); // newline } }Note that
-~i == i+1because of twos-complement. Therefore, we havemain(int i) { if(i != 448) main(i+1); i--; if(i % 64 == 0) { putchar('\n'); } else { char a = -~7[__TIME__-i/8%8][">'txiZ^(~z?"-48]; char b = a >> ";;;====~$::199"[i*2&8|i/64]/(i&2?1:8)%8; putchar(32 | (b & 1)); } }Now, note that
a[b]is the same asb[a], and apply the-~ == 1+change again:main(int i) { if(i != 448) main(i+1); i--; if(i % 64 == 0) { putchar('\n'); } else { char a = (">'txiZ^(~z?"-48)[(__TIME__-i/8%8)[7]] + 1; char b = a >> ";;;====~$::199"[(i*2&8)|i/64]/(i&2?1:8)%8; putchar(32 | (b & 1)); } }Converting the recursion to a loop and sneaking in a bit more simplification:
// please don't pass any command-line arguments main() { int i; for(i=447; i>=0; i--) { if(i % 64 == 0) { putchar('\n'); } else { char t = __TIME__[7 - i/8%8]; char a = ">'txiZ^(~z?"[t - 48] + 1; int shift = ";;;====~$::199"[(i*2&8) | (i/64)]; if((i & 2) == 0) shift /= 8; shift = shift % 8; char b = a >> shift; putchar(32 | (b & 1)); } } }This outputs one character per iteration. Every 64th character, it outputs a newline. Otherwise, it uses a pair of data tables to figure out what to output, and puts either character 32 (a space) or character 33 (a
!). The first table (">'txiZ^(~z?") is a set of 10 bitmaps describing the appearance of each character, and the second table (";;;====~$::199") selects the appropriate bit to display from the bitmap.The second table
Let's start by examining the second table,
int shift = ";;;====~$::199"[(i*2&8) | (i/64)];.i/64is the line number (6 to 0) andi*2&8is 8 iffiis 4, 5, 6 or 7 mod 8.if((i & 2) == 0) shift /= 8; shift = shift % 8selects either the high octal digit (fori%8= 0,1,4,5) or the low octal digit (fori%8= 2,3,6,7) of the table value. The shift table ends up looking like this:row col val 6 6-7 0 6 4-5 0 6 2-3 5 6 0-1 7 5 6-7 1 5 4-5 7 5 2-3 5 5 0-1 7 4 6-7 1 4 4-5 7 4 2-3 5 4 0-1 7 3 6-7 1 3 4-5 6 3 2-3 5 3 0-1 7 2 6-7 2 2 4-5 7 2 2-3 3 2 0-1 7 1 6-7 2 1 4-5 7 1 2-3 3 1 0-1 7 0 6-7 4 0 4-5 4 0 2-3 3 0 0-1 7or in tabular form
00005577 11775577 11775577 11665577 22773377 22773377 44443377Note that the author used the null terminator for the first two table entries (sneaky!).
This is designed after a seven-segment display, with
7s as blanks. So, the entries in the first table must define the segments that get lit up.The first table
Read the rest at the sourceFrom Stack Overflow: asked by corny, answered by nneonneo (CC BY-SA 3.0)
What are the differences between a pointer variable and a reference variable?C++
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;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 thesizeofoperator. 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);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 referenceIt 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 referencesYou 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);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 tonullptr, 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.Pointers are ContiguousIterators (of an array). You can use
++to go to the next item that a pointer is pointing to, and+ 4to go to the 5th element.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..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)
Have you ever taken the initiative?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)
Similar jobs
- Hardware Design EngineerBosch Group, Bengaluru, on-siteYesterday
- Founding Chief Operating Officer (COO), RoboticsWeekday, Bengaluru, on-site2 days ago
- ASIC Physical Design Engineer - 4 to 9 YearsCisco, Bengaluru, on-site2 days ago
- ASIC Verification EngineerHewlett Packard Enterprise, Bengaluru, on-site2 days ago
More like this: Embedded and hardware jobs in Bengaluru (605), Jobs in Bengaluru (10,735) and Embedded and hardware jobs in India (973)




