B.Tech specialization project + conference paper · 2026

GPU & CPU Performance Optimization for AI Workloads

C++ · CUDA · WMMA Tensor Cores · OpenMP · AVX2/FMA · Nsight Compute · Nsight Systems · Intel VTune

How far are textbook kernels from what the hardware can actually do, and why? Four workloads (vector add, dot product, matrix multiply and Transformer attention) were optimized in three stages each on an Intel Core i7-13650HX and an NVIDIA RTX 4060 Laptop GPU, verified against double precision, and explained with profiling and Roofline analysis. The conference paper, Breaking the Compute Bottleneck, presented and defended before a review panel, covers how CPU, GPU and NPU architectures and the compiler stack shape deep-learning performance.

Speedup per workload, CPU and GPU
The 4 workloads compared · best version over the simple one, CPU and GPU
Roofline of the RTX 4060 Laptop GPU with every GPU stage
Roofline · every GPU stage against the RTX 4060 roofs
Every optimization stage, CPU vs GPU
Every optimization step · time per iteration, CPU vs GPU, for each workload

CPU vs GPU race

Every version of each task races on one shared clock. Longer bars mean faster code, drawn to true scale.

The race is a separate run from the charts above, so the figures differ slightly.

Full walkthrough (72 s)

Goes over each workload, each optimization step and the CPU vs GPU comparison.

← All projects Get in touch