How are certain processors optimized to perform certain tasks? Aren’t the operations all the same? Ex: CPU/GPU, enabled Ray Tracing, etc

487 views

How are certain processors optimized to perform certain tasks? Aren’t the operations all the same? Ex: CPU/GPU, enabled Ray Tracing, etc

In: Engineering

2 Answers

Anonymous 0 Comments

With addition and subtraction, you can do every other mathematical function. 5*100 is just adding 5, 100 times. But it’s faster if you add two zeroes after 5. Doing that sort of thing takes specialized “optimized” hardware which changes a processor.

GPUs have more physical hardware for matrix math operations like rotating and translating matrices, which is what we use to describe 3D points in space, which are used to display graphics.

Anonymous 0 Comments

Everything requires many operations. Calculating the sine of a number, for instance, may require a great many operations. A normal processor will have to do each operation in the same place, whereas a GPU can do all of the processes in a different place like an assembly line. What exact calculations you have to do in what order determine how you arrange your hardware, and hardware arranged in a different order cannot do certain series of operations.