SG / PERSONAL PORTFOLIO

WELCOME. GOOD TO HAVE YOU HERE.

ShivanshuGupta

Exploring the intersection of AI, code
and GPU computing.

MCA ARTIFICIAL INTELLIGENCETHE JOURNEY CONTINUES
SG

Applied AI · GPU computing

Shivanshu Gupta

I build Python applications and CUDA C++ kernels. My latest project runs a handwritten-digit classifier on the GPU and measures when batching pays off.

Shivanshu Gupta

Kanpur, India

Selected projects

GPU inference, performance engineering, and software case studies.

CUDA CORE PROJECT · COMPUTER VISION

GPU-Accelerated Visual Pattern Matching

I trained a two-block convolutional network to recognize handwritten digits and implemented its inference in CUDA C++. The fused version combines convolution, ReLU, and max pooling, so the full convolution output stays out of global memory.

The demo lets you browse held-out digits, inspect mistakes, and compare recorded timings by batch size.

CNN test accuracy · 347 of 360 digits
96.39%
CUDA predictions matching PyTorch
360 / 360
Lower GPU-resident latency with fusion · batch 128
13.7%
Windows CUDA dashboard showing a correct prediction for digit 5 and a completed batch-128 benchmark
Windows dashboard running native CUDA inference. The timing panel shows a separate live benchmark run.
Inside the fused CUDA kernel
  1. ConvolutionFour lanes compute the four values in a 2 × 2 window using inputs staged in shared memory.
  2. ReLUEach lane clamps its result to zero or above.
  3. Max poolingWarp shuffles find the maximum. One lane writes the pooled value to global memory.

VERDYN / DATA WORKFLOW

  1. 01Validate hourly CSVs
  2. 02Compare buildings
  3. 03Forecast and flag unusual use

APPLIED ANALYTICS / CAMPUS DATA

Verdyn

Campus teams can compare energy and water use across buildings using their own hourly readings.

Project work
CSV validation, building comparisons, and a median-based forecast with unusual-usage flags.
Documented behavior
Four complete days of readings enable next-day forecasts. Shorter uploads still produce summaries.
TradeVelocity market-history workspace showing a price chart and market statistics
TRADEVELOCITY / APPLICATION SCREENSHOT

SYSTEMS ENGINEERING / TEAM PROJECT

TradeVelocity

A local order-matching application for inspecting an order book, handling partial fills, and reviewing executions.

My project focus
Matching rules, fills, cancellations, and order-book correctness.
Team verification
The Windows 11 verification run recorded 159 passing Python tests and 10 passing browser tests on 1 October 2026.

Browse all projects

MY GITHUB
01 / 05

DRAG, SWIPE OR USE THE ARROWS

02 / CROSS-DEVICE TEST BUILD
Control.
Connect.
CONCEPT ART / TEST BUILD
02

LapCont

KOTLIN · C# / .NET · GO

An Android-to-Windows remote-control test build with QR pairing, permission-based media access and PC session controls.

View repository
NEET Fortress repository banner artwork
03 / EXAM PRACTICE PROTOTYPE
NEET
Fortress.
REPOSITORY BANNER / PROTOTYPE
03

NEET Fortress

REACT · VINEXT · CLOUDFLARE

An exam practice and paper-assembly prototype with question-bank tools, browser-saved attempts and local audit demonstrations.

View repository
04 / CAMPUS SUSTAINABILITY
Campus
Digital Twin.
REPOSITORY OVERVIEW
04

Verdyn

AI-ASSISTED CAMPUS DASHBOARD

A campus dashboard built from uploaded energy and water readings, with forecasts and unusual-usage checks.

View repository
TradeVelocity market history in dark mode
05 / COLLABORATIVE PROJECT
Trade
Velocity.
ACTUAL REPOSITORY SCREENSHOT
05

TradeVelocity

ORDER MATCHING · TEAM PROJECT

A collaborative local order-matching application built with Python, FastAPI and React.

View repository

Research

THESIS / COMPUTER VISION

GPU-Accelerated Mathematical Framework for Intelligent Visual Pattern Matching

How well can a classical model recognize handwritten digits?

My thesis evaluates a classifier built with histograms of oriented gradients, principal component analysis, and a support vector machine. The report also describes a convolutional network design and examines how data transfers affect GPU performance.

Download thesis report See the follow-up CUDA project
Images in Digits dataset
1,797
Correct predictions on the held-out set
353 of 360
Reported classical test accuracy
98.06%

CUDA CORE PROJECT · INFERENCE

When does GPU batching pay off?

On the same held-out split, the trained CNN scored 347 of 360 and the HOG–PCA–SVM baseline scored 336 of 360. Both CUDA implementations matched every PyTorch prediction, with a maximum absolute logit difference of 8.58 × 10−6.

GeForce RTX 5060 Laptop GPU · Intel Core i7-14650HX · CUDA 13.4 · Windows

Median latency per batch in milliseconds
ImagesCPUDirect GPUFused GPUFused + copies
10.05700.08640.05430.0649
80.31550.04720.03110.0686
1283.27040.12230.10550.1413
51212.73770.39850.37060.4534

Nine samples of 30 calls after eight warm-ups. CPU uses one PyTorch thread. Direct and fused GPU columns keep inputs on the device. The copy-inclusive column includes upload, inference, download, and synchronization.

Including copies, the CPU was faster for one image. Batch 8 was the first tested size where fused CUDA was faster.

CUDA CORE PROJECT · MATRIX MULTIPLICATION

FP32 GEMM Performance Lab

I benchmarked three custom CUDA C++ kernels against NVIDIA cuBLAS at FP32 precision. Register tiling reduced the 2048 × 2048 × 2048 runtime from 15.030 ms to 3.898 ms, a 3.86× speedup over my naive kernel. cuBLAS took 1.613 ms.

GeForce RTX 5060 Laptop GPU · CUDA 13.4 · Windows

Median kernel time in milliseconds
M × N × KNaiveSharedRegistercuBLAS
256 × 256 × 2560.03900.03080.03280.0207
511 × 769 × 5130.41030.31800.14000.0724
1024 × 1024 × 10241.89661.42320.48770.2250
2048 × 2048 × 204815.029711.29193.89811.6125

Seven CUDA-event samples of 50 launches after ten warm-ups. Allocation, copies, and validation are outside the timed interval.

At 256 × 256 × 256, the shared-memory kernel was the fastest custom variant.

CUDA BENCHMARK

Vector addition on a GPU

A single-threaded CPU loop and a CUDA kernel add the same FP32 vectors. Every output element matched across all three input sizes.

GeForce RTX 5060 Laptop GPU · Intel Core i7-14650HX · CUDA 13.4 · Windows

Median time in milliseconds
ElementsCPU loopGPU kernelTransfers
65,5360.00510.02380.0943
1,048,5760.20530.06551.0054
16,777,2169.47740.632213.8528

21 samples after five warm-ups per size. CUDA events time the kernel. Transfers include both input uploads and the result download through pinned host memory. Allocation is outside the timed runs.

At the largest size, the kernel took about 0.63 ms. Transfers alone took about 13.85 ms, more than the CPU loop’s 9.48 ms.

How to run the benchmark

Save vector-add.cu to a folder. On Windows, open Developer PowerShell with the CUDA Toolkit available and run both commands from that folder.

nvcc -O3 -arch=sm_120 vector-add.cu -o vector-add.exe
.\vector-add.exe

The sm_120 flag targets the RTX 5060 Laptop GPU. Choose the architecture flag for your GPU. The program prints the timing results and checks the GPU output against the CPU result.

About me

From a business foundation to Artificial Intelligence and GPU computing.

EDUCATION & SKILLS

BBA graduate. Now pursuing an MCA in Artificial Intelligence, with NVIDIA as my priority career goal.

EDUCATION

MCA Artificial Intelligence

Bennett University

CURRENT

Bachelor of Business Administration

BBA completed

COMPLETED

CBSE Class 12

Commerce with Computer Science

71%

CBSE Class 10

74%

FOUNDATIONS & STUDY AREAS

PYTHONDSAGIT / GITHUBSQL BASICSMACHINE LEARNINGDEEP LEARNINGNLP

Additional background in cybersecurity learning, security fundamentals, networking and risk assessment.

LEARNING DIRECTION

  1. 01

    PROGRAMMING

    Python, DSA, Git and SQL foundations.

  2. 02

    AI & MACHINE LEARNING

    Developing understanding of ML, deep learning and NLP.

  3. 03

    GPU & CUDA

    CUDA C++ inference, shared-memory and register tiling, and performance measurement.

  4. 04

    GENERATIVE AI

    Longer-term interests in LLMs and retrieval-augmented generation.

  5. 05

    AGENTIC AI

    A future direction in AI agents and intelligent applications.

Certificates

A foundation in security that complements my ongoing AI and GPU computing studies.

On LinkedIn

Connect with me about AI, GPU computing, and opportunities to learn and build.

MY LINKEDIN PROFILE

Shivanshu Gupta

MCA Artificial Intelligence Student
Bennett University

Kanpur, Uttar Pradesh, India

AI / MLGPU / CUDA LEARNINGGEN AI INTERESTS
View my LinkedIn

linkedin.com/in/shivanshu-gupta-6b99b4380

Let’s connect

I’d like to connect about AI/ML, GPU computing, learning collaborations and early-career opportunities.

EMAILshivugupta363@gmail.com

ALTERNATEgshivanshu007@gmail.com

Kanpur, Uttar Pradesh, India

SAY HELLO.

Opens your email app with a prepared message. Review it there and send it to me.

GITHUB REPOSITORY DESCRIPTION