# koshins-com/parallel-protozoa-optimizer architecture

> Architecture diagram of the GitHub repository koshins-com/parallel-protozoa-optimizer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/koshins-com/parallel-protozoa-optimizer
- Repository: https://github.com/koshins-com/parallel-protozoa-optimizer

## Overview

This is a small CUDA/C++ codebase exposing device-side random and Bernoulli operations, a batch Bernoulli kernel, and general CUDA helper utilities. The headers show the public declarations, but the CUDA implementations and main program were not sampled, and the README is empty. Their runtime roles and relationships therefore cannot be established from the available evidence; no call-flow edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_fast_rand["Fast random<br/>[fast_rand.cu]"]
node_random_api["Random API<br/>[fast_rand.h]"]
node_helpers["Helper utilities<br/>[helpers.cu]"]
node_helpers_api["Helper declarations<br/>[helpers.h]"]
node_main["Program entry<br/>[main.cu]"]

click node_fast_rand "https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/fast_rand.cu"
click node_random_api "https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/include/fast_rand.h"
click node_helpers "https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/helpers.cu"
click node_helpers_api "https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/include/helpers.h"
click node_main "https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/main.cu"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_fast_rand,node_helpers,node_helpers_api,node_main toneTeal
class node_random_api toneMint
```

## Components

### Other components

- [Fast random](https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/fast_rand.cu): `src/fast_rand.cu`
- [Random API](https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/include/fast_rand.h): `include/fast_rand.h`
- [Helper utilities](https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/helpers.cu): `src/helpers.cu`
- [Helper declarations](https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/include/helpers.h): `include/helpers.h`
- [Program entry](https://github.com/koshins-com/parallel-protozoa-optimizer/blob/main/src/main.cu): `src/main.cu`
