content: [project]
  name = "mojo-gpu-puzzles"
  version = "1.0.0"
  readme = "README.md"
  requires-python = ">=3.10,<3.13"
  dependencies = [
      "mojo>=0.25.7.0.dev2025100107,<1.0.0",
      "max>=25.7.0.dev2025100107",
      "poethepoet>=0.34.0",
      "scipy>=1.15.3",
      "torch==2.7.1",
  ]
  
  [[tool.uv.index]]
  name = "modular-nightly"
  url = "https://dl.modular.com/public/nightly/python/simple/"
  prerelease = "allow"
  
  [[tool.uv.index]]
  name = "pytorch-cu128"
  url = "https://download.pytorch.org/whl/cu128"
  explicit = true
  
  [tool.uv.sources]
  mojo = [
    { index = "modular-nightly" },
  ]
  max = [
    { index = "modular-nightly" },
  ]
  mblack = [
    { index = "modular-nightly" },
  ]
  mojo-compiler = [
    { index = "modular-nightly" },
  ]
  mojo-lldb-libs = [
    { index = "modular-nightly" },
  ]
  torch = [
    { index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
  ]
  
  [tool.uv]
  prerelease = "allow"
  
  [tool.poe.tasks]
  tests = "bash solutions/run.sh"
  
  p01 = "mojo problems/p01/p01.mojo"
  
  p02 = "mojo problems/p02/p02.mojo"
  
  p03 = "mojo problems/p03/p03.mojo"
  
  p04 = "mojo problems/p04/p04.mojo"
  p04_layout_tensor = "mojo problems/p04/p04_layout_tensor.mojo"
  layout_tensor_intro = "mojo book/src/puzzle_04/intro.mojo"
  
  p05 = "mojo problems/p05/p05.mojo"
  p05_layout_tensor = "mojo problems/p05/p05_layout_tensor.mojo"
  
  p06 = "mojo problems/p06/p06.mojo"
  
  p07 = "mojo problems/p07/p07.mojo"
  p07_layout_tensor = "mojo problems/p07/p07_layout_tensor.mojo"
  
  p08 = "mojo problems/p08/p08.mojo"
  p08_layout_tensor = "mojo problems/p08/p08_layout_tensor.mojo"
  
  p11 = "mojo problems/p11/p11.mojo"
  p11_layout_tensor = "mojo problems/p11/p11_layout_tensor.mojo"
  
  p12 = "mojo problems/p12/p12.mojo"
  p12_layout_tensor = "mojo problems/p12/p12_layout_tensor.mojo"
  
  p13 = "mojo problems/p13/p13.mojo"
  
  p14 = "mojo problems/p14/p14.mojo"
  
  p15 = "mojo problems/p15/p15.mojo"
  
  p16 = "mojo problems/p16/p16.mojo"
  
  p17 = [
      { cmd = "mojo package problems/p17/op -o problems/p17/op.mojopkg" },
      { cmd = "python problems/p17/p17.py" }
  ]
  
  p18-package = "mojo package problems/p18/op -o problems/p18/op.mojopkg"
  p18-test-kernels = { cmd = "mojo test problems/p18", deps = ["p18-package"] }
  p18 = { cmd = "python problems/p18/p18.py", deps = ["p18-package"] }
  
  p19 = [
      { cmd = "mojo package problems/p19/op -o problems/p19/op.mojopkg" },
      { cmd = "python problems/p19/p19.py" }
  ]
  
  p20 = "python problems/p20/p20.py"
  
  p21 = "python problems/p21/p21.py"
  
  p22 = "python problems/p22/p22.py"
  
  p23 = "mojo problems/p23/p23.mojo"
  
  p24 = "mojo problems/p24/p24.mojo"
  
  p25 = "mojo problems/p25/p25.mojo"
  
  p26 = "mojo problems/p26/p26.mojo"
  
  p27 = "mojo problems/p27/p27.mojo"
  
  p28 = "mojo problems/p28/p28.mojo"
  
  p29 = "mojo problems/p29/p29.mojo"
  
  p30 = "mojo problems/p30/p30.mojo"
  
  p31 = "mojo problems/p31/p31.mojo"
  
  p32 = "mojo problems/p32/p32.mojo"
  
  p33 = "mojo problems/p33/p33.mojo"
  
  p34 = "mojo problems/p34/p34.mojo"
  
  # GPU specs
  gpu-specs = { cmd = "python scripts/gpu_specs.py" }
  