CPU-Friendly Code
Offered By: code::dive conference via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.
Syllabus
Intro
CPU vs GPU
Big O Notation
Demo
Real complexity
Cache locality
Caches
Fast Processing
More Demos
Cache
Branch prediction
Branch prediction example
Branch prediction demo
Ciscos
Allocations
List vs Vector
Memory Pools
Intrinsics
Intrinsic demo
Intrinsic problems
AVX instructions
Conclusion
Taught by
code::dive conference
Related Courses
Advanced Monitoring and Optimizing with DynamoDB (Korean)Amazon Web Services via AWS Skill Builder Building No-Code Apps with AppSheet: Implementation
Google via Google Cloud Skills Boost Building with Amazon DynamoDB Tables
Amazon Web Services via AWS Skill Builder Facilitate Personalised and Performance-Focused Learning
Avado via edX ممارسات التدريب
University of California, Davis via Coursera