MCPcopy Index your code
hub / github.com/AlphaGPU/leetgpu-challenges

github.com/AlphaGPU/leetgpu-challenges @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,014 symbols 2,451 edges 446 files 24 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LeetGPU

This is the challenge set for LeetGPU.com. We welcome contributions and bug reports!

Overview

Each challenge includes problem descriptions, reference implementation, test cases, and starter templates for multiple GPU programming frameworks.

Challenge Structure

Each challenge contains:

  • challenge.html: Detailed problem description, examples, and constraints
  • challenge.py: Reference implementation, test cases, and challenge metadata
  • starter/: Template files for each supported framework

Contributing

See CONTRIBUTING.md for guidelines on contributing new challenges or improvements.

License

This problem set is licensed under CC BY‑NC‑ND 4.0 license.

© 2025 AlphaGPU, LLC. Commercial use, redistribution, or derivative use is prohibited.

Core symbols most depended-on inside this repo

_make_test_case
called by 12
challenges/hard/74_gpt2_block/challenge.py
_make_test_case
called by 12
challenges/hard/93_llama_transformer_block/challenge.py
_make_test_case
called by 11
challenges/medium/94_ssm_selective_scan/challenge.py
_make_test_case
called by 11
challenges/medium/81_int4_matmul/challenge.py
_make_test_case
called by 11
challenges/medium/96_int8_kv_cache_attention/challenge.py
_make_test_case
called by 10
challenges/medium/80_grouped_query_attention/challenge.py
_make_test_case
called by 10
challenges/medium/82_linear_recurrence/challenge.py
_make_test_case
called by 10
challenges/medium/92_decaying_causal_attention/challenge.py

Shape

Method 525
Function 394
Class 95

Languages

Python100%

Modules by API surface

challenges/core/challenge_base.py17 symbols
challenges/medium/76_adder_transformer/challenge.py16 symbols
challenges/hard/93_llama_transformer_block/challenge.py12 symbols
challenges/medium/87_speculative_decoding_verification/challenge.py11 symbols
challenges/hard/74_gpt2_block/challenge.py10 symbols
challenges/hard/73_all_pairs_shortest_paths/challenge.py10 symbols
challenges/medium/94_ssm_selective_scan/challenge.py9 symbols
challenges/medium/82_linear_recurrence/challenge.py9 symbols
challenges/medium/78_2d_fft/challenge.py9 symbols
challenges/medium/96_int8_kv_cache_attention/challenge.py8 symbols
challenges/medium/92_decaying_causal_attention/challenge.py8 symbols
challenges/medium/90_causal_depthwise_conv1d/challenge.py8 symbols

For agents

$ claude mcp add leetgpu-challenges \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact