brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
hpc-gpu-stackBuild, review, debug, and launch CUDA- and GPU-accelerated HPC workflows. Use when working with `nvcc`, host-compiler compatibility, CUDA-aware MPI, rank-to-GPU mapping, `CUDA_VISIBLE_DEVICES`, Slurm GPU scheduling, GPU memory or stream behavior, or CUDA build and runtime failures.
Independent GitHub snapshot · Automated classification · Original documentation governs
nvcc, host-compiler compatibility, CUDA-aware MPI, rank-to-GPU mapping, CUDA_VISIBLE_DEVICES, Slurm GPU scheduling, GPU memory or stream behavior, or CUDA build and runtime failures.Treat GPU execution as one coherent stack: CUDA toolchain, host compiler, launcher, scheduler mapping, and device visibility must agree before kernel tuning matters.
references/cuda-and-host-compiler-matrix.md before choosing nvcc, host compiler, or a CUDA build baseline.references/gpu-aware-mpi-and-rank-mapping.md when the workflow spans MPI ranks, one-rank-per-GPU layouts, or CUDA-aware MPI.references/device-visibility-and-scheduler-integration.md when Slurm, CUDA_VISIBLE_DEVICES, MIG, or scheduler-provided GPU allocation is involved.references/memory-streams-and-overlap-playbook.md when debugging device memory pressure, pinned-memory transfers, streams, or overlap assumptions.references/build-and-launch-workflow.md when turning a CUDA code path into a reproducible compile-and-run workflow.references/runtime-debugging-and-profiling.md when kernels fail at runtime, ranks see the wrong device, or performance is unexpectedly poor.references/error-recovery.md when configure, compile, launch, or runtime CUDA behavior fails.references/error-pattern-dictionary.md when a GPU failure needs a fast pattern match.nvcc accepts any host compiler visible in PATH.Load these on demand:
references/cuda-and-host-compiler-matrix.md for compiler-compatibility and build-baseline decisionsreferences/gpu-aware-mpi-and-rank-mapping.md for CUDA-aware MPI and rank placement rulesreferences/device-visibility-and-scheduler-integration.md for scheduler-exposed GPU visibility and Slurm integrationreferences/memory-streams-and-overlap-playbook.md for memory hierarchy, streams, and transfer overlapreferences/build-and-launch-workflow.md for reproducible build and launch sequencingreferences/runtime-debugging-and-profiling.md for runtime inspection and performance triagereferences/error-pattern-dictionary.md for common GPU failure signaturesUse assets/templates/ when a concrete starting point is faster than rebuilding the GPU workflow from scratch, especially:
cuda_vector_add_minimal.cunvcc_build_example.shcuda_single_gpu_slurm.shcuda_mpi_gpu_slurm.shSummarize: