Aussie AI

Table of Contents for Generative AI in C++

  • by David Spuler, Ph.D.

Table of Contents

Here is the Table of Contents for Generative AI in C++ by David Spuler.

Generative AI in C++: Coding Transformers and LLMs

Foreword

Preface

About the Author

About the Contributors

Source Code Availability

Part I: AI Projects in C++

Chapter 1. Introduction to AI in C++ (Full Chapter)

Chapter 2. Transformers & LLMs (Full Chapter)

Chapter 3. AI Phones (Full Chapter)

Chapter 4. AI on Your Desktop (Full Chapter)

Chapter 5. Design Choices & Architectures (Full Chapter)

Chapter 6. Training, Fine-Tuning & RAG (Full Chapter)

Chapter 7. Deployment Architecture (Full Chapter)

Part II: Basic C++ Optimizations

Chapter 8. Bitwise Operations (Full Chapter)

Chapter 9. Floating Point Arithmetic (Full Chapter)

Chapter 10. Arithmetic Optimizations (Full Chapter)

Chapter 11. Compile-Time Optimizations (Full Chapter)

Chapter 12. Pointer Arithmetic (Full Chapter)

Chapter 13. Algorithm Speedups (Full Chapter)

Chapter 14. Memory Optimizations (Full Chapter)

Part III: Parallel C++ Optimizations

Chapter 15. Loop Vectorization (Full Chapter)

Chapter 16. Hardware Acceleration (Full Chapter)

Chapter 17. AVX Intrinsics (Full Chapter)

Chapter 18. Parallel Data Structures (Full Chapter)

Part IV: Transformer Components in C++

Chapter 19. Encoders & Decoders (Full Chapter)

Chapter 20. Attention (Full Chapter)

Chapter 21. Activation Functions (Full Chapter)

Chapter 22. Vector Algorithms (Full Chapter)

Chapter 23. Tensors (Full Chapter)

Chapter 24. Normalization (Full Chapter)

Chapter 25. Softmax (Full Chapter)

Chapter 26. Decoding Algorithms (Full Chapter)

Chapter 27. Tokenizer and Vocabulary (Full Chapter)

Part V: Optimizing Transformers in C++

Chapter 28. Deslugging AI Engines (Full Chapter)

Chapter 29. Caching Optimizations (Full Chapter)

Chapter 30. Vectorization (Full Chapter)

Chapter 31. Kernel Fusion (Full Chapter)

Chapter 32. Quantization (Full Chapter)

Chapter 33. Pruning (Full Chapter)

Chapter 34. MatMul/GEMM (Full Chapter)

Chapter 35. Lookup Tables & Precomputation (Full Chapter)

Chapter 36. AI Memory Optimizations (Full Chapter)

Part VI: Enterprise AI in C++

Chapter 37. Tuning, Profiling & Benchmarking (Full Chapter)

Chapter 38. Platform Portability (Full Chapter)

Chapter 39. Quality (Full Chapter)

Chapter 40. Reliability (Full Chapter)

Chapter 41. Self-Testing Code (Full Chapter)

Chapter 42. Debugging (Full Chapter)

Part VII: Research on AI Optimization

Chapter 43. Overview of AI Research (Full Chapter)

Chapter 44. Advanced Quantization (Full Chapter)

Chapter 45. Knowledge Distillation (Full Chapter)

Chapter 46. Structured Pruning (Full Chapter)

Chapter 47. Early Exit and Layer Pruning (Full Chapter)

Chapter 48. Width Pruning (Full Chapter)

Chapter 49. Length Pruning (Full Chapter)

Chapter 50. Adaptive Inference (Full Chapter)

Chapter 51. Zero-Multiplication Models (Full Chapter)

Chapter 52. Logarithmic Models (Full Chapter)

Chapter 53. Arithmetic Optimization Research (Full Chapter)

Chapter 54. Ensemble Multi-Model Architectures (Full Chapter)

Chapter 55. Advanced Number Systems (Full Chapter)

Chapter 56. Neural Architecture Search (Full Chapter)

Appendices

Appendix 1: C++ Slug Catalog (Full Chapter)

Bonus Appendix: C++ Bug Catalog

Bonus Appendix: C++ Bug Symptom Diagnosis

Bonus Appendix: C++ Portability Bug Catalog

More about the Book

For general information about Generative AI in C++ see also:



Generative AI in C++ The new AI programming book by Aussie AI co-founders:
  • AI coding in C++
  • Transformer engine speedups
  • LLM models
  • Phone and desktop AI
  • Code examples
  • Research citations

Get your copy from Amazon: Generative AI in C++