warming up your workspace

Python practice in GPU Graphics

Browse the rooms before signing in. Opening a room requires an account and follows your existing access. Practice does not issue certificates.

  • CPU Vectorized Scale

    Scale pixel samples before a brightness comparison.

    patterns. Free room.

  • Reduce Sum

    Sum supplied per-invocation work durations.

    patterns. Free room.

  • Thread Index Map

    Calculate the index that a one-dimensional CUDA launch would assign.

    parallel-model. Free room.

  • Vec3 Dot Product

    A diffuse-lighting calculation needs a scalar dot product between two three-component vectors..

    transforms. Free room.

  • Barycentric Weights

    Use signed triangle areas to express a point as a weighted combination of a nondegenerate triangle.

    rasterization. Account access required.

  • Prefix Scan

    An exclusive scan gives the starting offset for each variable-sized group.

    patterns. Account access required.

  • Tile Load

    Model a tile copied into a CPU scratch buffer.

    memory. Account access required.

  • Vec4 Transform

    Apply a homogeneous transform to a four-component vertex using column-vector multiplication..

    transforms. Account access required.

  • Separable Gaussian Blur

    Blur a nonempty image with two one-dimensional passes on the CPU.

    shaders. Account access required.

  • N-Body Step from Rest

    Compute one semi-implicit Euler step from zero initial velocity.

    particles. Account access required.

  • Ray-Sphere Intersection

    Find the first strictly positive intersection of a ray with a sphere.

    raytracing. Account access required.

  • Tiled Matrix Multiply

    Accumulate a matrix product from CPU array tiles.

    linear-algebra. Account access required.

  • BVH Leaf AABB

    Compute a separate axis-aligned bounding box for each triangle.

    raytracing. Account access required.

  • CPU Tiled Transpose

    Copy each CPU tile into local storage and transpose it into the output.

    memory. Account access required.

  • Clamped Histogram

    Count samples into equally spaced bins using CPU NumPy.

    patterns. Account access required.

  • Perspective Projection Pipeline

    Assemble model transformation, projection, perspective divide and viewport mapping.

    transforms, rasterization. Account access required.

  • Assemble a CPU Rasterization Pipeline

    Software renderer engineer reconstructing the pipeline before the client call.

    transforms, rasterization, shaders, renderer. Account access required.

  • Barnes-Hut Cell Helpers

    Compute a nonempty positive-mass cell summary and the size/distance opening decision.

    particles. Account access required.

  • Seeded Sphere Bounce Study

    Assemble nearest-hit selection, albedo multiplication and seeded direction changes in a CPU toy ray walk.

    raytracing, shaders. Account access required.

  • CPU Tiled Cross-Correlation

    Stage a CPU image tile plus its halo in a copied local NumPy buffer, then compute several outputs from that tile.

    memory, shaders. Account access required.