Skip to content
View MAlazmii's full-sized avatar
:octocat:
:octocat:

Block or report MAlazmii

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MAlazmii/README.md
M Alazmi — Computational Studio. From mathematical ideas to computational experiments.

Hi, I'm Mohammed Alazmi.

I explore high-performance computing, GPU programming, and scientific software, with supporting work in machine learning and computer vision. I build small, reproducible experiments to understand numerical methods, parallel execution, and the cost of moving data.

Start with Heat MPI, GPU Reduction and Clustering Study below: independent projects with correctness checks, recorded validation, and reproducible results. The MSc performance case studies cover CPU optimisation, OpenMP tasks and MPI scaling. The MSc dissertation compares native HIP and OpenMP target offload.

Explore the projects ↓   ·   Browse all repositories

C C++ CUDA MPI OpenMP Linux Python Git

Selected projects

01 / PARALLEL COMPUTING

A 2-D heat solver with a serial reference and distributed MPI implementation. Analytical checks and complete-field comparisons establish correctness; Linux validation covers Open MPI and MPICH.

C · MPI · Numerical methods

Code, validation & reproduction →

Actual heat solver output at the initial state and after 2,000 steps, using one temperature scale
Actual serial solver output. Multi-node performance has not been measured.

02 / GPU COMPUTING

A C++/CUDA reduction study separating resident GPU work from transfer-inclusive time. Correctness and Compute Sanitizer checks passed on an A100; CPU builds are checked with GCC and Clang.

C++17 · CUDA · Measurement and validation

Code, recorded measurements & methodology →

A100 timing chart showing five repetitions, medians and ranges for a single-thread CPU reference, resident GPU work and GPU work with transfers
Measured timings from one A100 run. Logarithmic scale; no general speedup claim.

03 / MACHINE LEARNING

An independent NumPy study of random-start k-means, k-means++ and bisecting k-means. All 225 planned fits are recorded, with numerical checks, identical-start library comparisons and repeatable Linux validation.

Python · NumPy · Reproducible experiments

Algorithms, evidence & reproduction →

Three generated geometries with their generating groups above and measured k-means++ assignments below, using fixed seeds
Actual CPU results on generated data, using fixed seeds. Colors identify groups within each panel.

See the results across every planned seed

Adjusted Rand and silhouette scores for all 225 fits, with every fit, median, interquartile range and minimum–maximum range shown
Five dataset seeds × five initialization seeds per method and geometry. Synthetic-data measurements, not real-world accuracy estimates or confidence intervals.

MSc performance case studies

04 / CPU PERFORMANCE

A Cirrus optimisation study with a fresh comparison on an Apple M1. Across five runs per version, the median for 20 steps fell from 13.32 s to 0.78 s using the same input and compiler flags. The saved snapshots matched at 20 and 100 steps.

C · Profiling · Loop optimisation

Case study, data & method →

Six historical Cirrus runtimes and all ten fresh timing samples from the N-body solver comparison
The local measurements cover one solver call per process. The historical chart records the reported Cirrus stages.

05 / SHARED-MEMORY PARALLELISM

A recursive integration study with OpenMP tasks. On the local rebuild, the median fell from 33.95 s to 9.33 s at one versus four requested threads. The estimate differed from the analytical reference by about 1.27 × 10⁻⁴.

C · OpenMP · Numerical integration

Case study, data & method →

Historical GNU and Intel timing series and six fresh recursive solver measurements at one and four requested threads
The historical queue timings have unresolved source provenance. The saved queue prototype returned zero.

06 / DISTRIBUTED COMPUTING

An ARCHER2 scaling study of a two-dimensional MPI sandpile. A temporary local build matched an independent serial reference cell for cell in all 12 checks, including runs with eight ranks.

C · MPI · Cartesian decomposition

Case study, data & method →

Fifteen archived ARCHER2 runtimes for fixed and varying grids and two node placements at 128 ranks
The ARCHER2 timings cover fixed iteration counts. Both node placement runs ended above the stable height.

MSc dissertation

07 / GPU PERFORMANCE RESEARCH

For my MSc dissertation at the University of Edinburgh, I ported a CFD stencil to HIP and compared it with OpenMP target offload on an AMD MI210. Across 70 recorded timings, the OpenMP-to-HIP runtime ratio narrowed from 2.01× on the smallest grid to 1.03× on the largest.

HIP · OpenMP target · ARCHER2 · Numerical validation

Case study, measurements & reproduction →

Measured MI210 iteration times across seven grid sizes, alongside modeled effective bandwidth relative to a measured Triad reference
Five sequential repeats per implementation and size. Effective bandwidth uses a stencil traffic model and a separate measured Triad reference.

Measured solver time by iteration count and relative runtime for nine HIP block shapes with 256 threads per block
Separate iteration-count and block-shape experiments. The case study documents their timing scope and the numerical checks.

Computer vision and robotics

08 / COMPUTER VISION

Custom image filters, ORB keypoints, and SIFT/ORB matching: exploring how local image structure becomes a set of correspondences.

Python · OpenCV · NumPy

Notebooks & visual results →

Saved feature-matching output connecting corresponding points between photographs Original saved notebook output

09 / ROBOTICS

A Pioneer 3-DX connects sonar readings to movement through goal seeking and wall following, built on a laboratory teaching scaffold.

Java · Webots · Reactive control

Controller & setup →

Pioneer robot and obstacles in the project's Webots arena Original project screenshot

Also in the lab

Image classification with a CNN — a TensorFlow/Keras study in grayscale image recognition, with training curves and saved evaluation outputs.

See the recorded learning curves

Original saved CNN training curves

Historical notebook output, not a new training run. Read the experiment's scope and limitations.

  • Earlier clustering coursework — the original learning project, kept separate from the independently implemented Clustering Study above.
  • Brain signal simulation — a C serial baseline and experimental MPI work for signal propagation through neuron-and-nerve graphs.
  • Sales prediction prototype — a Flask interface connecting model inference to CSV-backed inventory charts.
  • Geometric GUI — a small C# application for drawing lines and finding their intersections.

Apps and algorithms

  • Campus and mural map — a Swift coursework app exploring maps, location, and saved favourites.
  • Wheel of Fortune — a UIKit word game with phrase categories and scoring.
  • Data cleaning — a JavaScript exercise in validating and normalizing CSV records.
  • Square grouping — dynamic programming for partitioning a sequence into consecutive groups.

Programming foundations

Coursework and smaller exercises are grouped by language, with original source credits and setup notes in each collection.

Java · C · Haskell · Web fundamentals · Swift examples


Model. Validate. Measure.
Different projects, connected by curiosity about how systems work.

Artwork & image credits · Animation respects reduced-motion preferences

Pinned Loading

  1. heat-mpi heat-mpi Public

    Reproducible C/MPI heat-diffusion solver with analytical validation and benchmark provenance.

    Python

  2. gpu-reduction gpu-reduction Public

    C++/CUDA reduction study with analytical validation, A100 sanitizer evidence, and transfer-aware benchmarks.

    Python 1

  3. clustering-study clustering-study Public

    Independent NumPy clustering study with reproducible multi-seed experiments, reference checks, and evidence-driven figures.

    Python

  4. cfd-gpu-dissertation cfd-gpu-dissertation Public

    MSc HPC dissertation case study comparing native HIP with OpenMP target offload on AMD MI210, with audited timings and reproducible charts.

    Python

  5. mpi-sandpile-study mpi-sandpile-study Public

    MSc MPI sandpile case study with audited ARCHER2 scaling records and exact local full-grid validation.

    Python

  6. nbody-performance-study nbody-performance-study Public

    MSc CPU performance case study with historical Cirrus evidence, fresh N-body measurements and reproducible figures.

    Python