C++ AVX Optimization: CPU SIMD Vectorization (C++ LLM Coding on CPU and GPU Book 5)

ANT

4.5 3
$5.00
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• 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.

Published date July 17, 2025
Author David Spuler

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$5.00

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

FormatEPUB, PDF
LanguageEnglish

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.

Reviews

4.5 2
5★84%4★11%3★3%2★1%1★1%
T Tyler Bird Verified
★★★★★The diagrams do the teachingSeeing the concept drawn before the notation appears changed everything for me.
B Brandi Valencia Verified
★★★★★A set text for my classThe problem sets are graded properly and the solutions are complete.
See all reviews

Customers also downloaded