Главная
Study mode:
on
1
Intro
2
CPU vs GPU
3
Big O Notation
4
Demo
5
Real complexity
6
Cache locality
7
Caches
8
Fast Processing
9
More Demos
10
Cache
11
Branch prediction
12
Branch prediction example
13
Branch prediction demo
14
Ciscos
15
Allocations
16
List vs Vector
17
Memory Pools
18
Intrinsics
19
Intrinsic demo
20
Intrinsic problems
21
AVX instructions
22
Conclusion
Description:
Explore CPU-friendly coding techniques in this conference talk from code::dive 2018. Delve into the complexities hidden by hardware and software platforms that execute code, going beyond Big-O notation. Learn about typical CPU architecture and how to optimize software performance and power consumption. Discover fundamental principles including data and instruction cache-locality, branch prediction, C and C++ compiler intrinsics, and SIMD. Gain insights into operating system concepts like virtual memory, syscalls, and memory allocation. Through demonstrations and examples, understand the impact of cache locality, branch prediction, memory allocation strategies, and intrinsics on code performance. Compare CPU and GPU processing, examine real-world complexity, and explore CISC architectures. Conclude with practical knowledge on writing efficient, CPU-friendly code for improved software performance.

CPU-Friendly Code

code::dive conference
Add to list
0:00 / 0:00