C++ AVX Optimization: CPU SIMD Vectorization (C++ LLM Coding on CPU and GPU Book 5)
ANT
• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.
Instant digital delivery after purchase.
Discover another great read to add to your digital library.
Description
AVX SIMD instructions are free CPU parallelization hidden in every CPU. Access these vectorized instructions for extra speed without learning assembly language by coding in C++ AVX intrinsics.
Key Topics: Introduction to AVX SIMD intrinsics Vectorization and horizontal reductions Low latency tricks and branchless programming Instruction-level parallelism and out-of-order execution Loop unrolling & double loop unrolling
Table of Contents:
Part I: AVX Optimizations
1. AVX Intrinsics
2. Simple AVX Example
3. CPU Platform Detection
4. Common Bugs & Slugs
5. One-Dimensional Vectorization
6. Horizontal Reductions
7. Vector Dot Product
8. Loop Optimizations
9. Softmax
10. Advanced AVX Techniques
Part II: Low-Level Code Optimizations
11. Compile-Time Optimizations
12. Zero Runtime Cost Operations
13. Bitwise Operations
14. Floating-Point Computations
15. Arithmetic Optimizations
16. Branch Prediction
17. Instruction-Level Parallelism
18. Core Pinning
19. Cache Locality
20. Cache Warming
21. Contiguous Memory Blocks
22. False Sharing
23. Memory Pools
Appendix A: Long List of Low Latency Techniques
Appendix B: License Details
Specifications
Frequently asked
Do I need an account to download?
No. After purchase, you can access your ebook directly from the order confirmation or download page.
What if a copy arrives damaged?
Contact us and we’ll help you access the file or provide a replacement download if needed.