nvidia-cuda

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

nvidia-cuda

nvidia-cuda

NVIDIA CUDA — GPU 上で汎用並列計算を行うためのプログラミングモデル・ツールチェーン・ライブラリ群。 CUDA C++/Python によるカーネル記述、PTX ISA 命令セット、Blackwell アーキテクチャ向けチューニング、 CUTLASS/CuTe による高性能 GEMM 実装をカバーする。
NVIDIA CUDA — 用于在GPU上进行通用并行计算的编程模型、工具链及库集合。 涵盖基于CUDA C++/Python的kernel编写、PTX ISA指令集、面向Blackwell架构的调优、 基于CUTLASS/CuTe的高性能GEMM实现。

ディレクトリ構成

目录结构

text
skills/nvidia-cuda/
  SKILL.md
  references/
    programming-model/
      README.md
      introduction.md
      programming-model.md
      cuda-platform.md
      intro-to-cuda-cpp.md
      intro-to-cuda-python.md
      writing-cuda-kernels.md
      writing-tile-kernels.md
      asynchronous-execution.md
      understanding-memory.md
      nvcc.md
    advanced/
      README.md
      core/
        README.md
        advanced-host-programming.md
        advanced-kernel-programming.md
        driver-api.md
        multi-gpu-systems.md
        feature-survey.md
      features/
        README.md
        unified-memory.md
        cuda-graphs.md
        stream-ordered-memory-allocation.md
        cooperative-groups.md
        programmatic-dependent-launch.md
        green-contexts.md
        lazy-loading.md
        error-log-management.md
        async-barriers.md
        pipelines.md
        async-copies.md
        cluster-launch-control.md
        l2-cache-control.md
        memory-sync-domains.md
        inter-process-communication.md
        virtual-memory-management.md
        extended-gpu-memory.md
        dynamic-parallelism.md
        graphics-interop.md
        driver-entry-point-access.md
      appendices/
        README.md
        compute-capabilities.md
        environment-variables.md
        cpp-language-support.md
        cpp-language-extensions.md
        mathematical-functions.md
        device-callable-apis.md
        cuda-cpp-memory-model.md
        cuda-cpp-execution-model.md
    ptx-isa/
      README.md
      introduction.md
      programming-model.md
      machine-model.md
      syntax.md
      state-spaces-types-variables.md
      instruction-operands.md
      abi.md
      memory-consistency-model.md
      instruction-set-overview.md
      instructions-arithmetic.md
      instructions-comparison-logic.md
      instructions-data-movement.md
      instructions-texture-surface.md
      instructions-control-flow.md
      instructions-sync-communication.md
      instructions-matrix-multiply.md
      instructions-video-misc.md
      special-registers.md
      directives.md
      pragma-strings.md
      release-notes.md
    blackwell-tuning/
      README.md
      architecture.md
      best-practices.md
      streaming-multiprocessor.md
      memory-system.md
      nvlink.md
    cutlass/
      README.md
      cute-dsl/
        README.md
        overview.md
        functionality.md
        quick-start.md
        cute-dsl.md
        dsl-introduction.md
        dsl-code-generation.md
        dsl-control-flow.md
        dsl-jit-arg-generation.md
        dsl-dynamic-layout.md
        dsl-struct-types.md
        dsl-jit-caching.md
        dsl-jit-compilation-options.md
        dsl-types.md
        framework-integration.md
        debugging.md
        iket-profiling.md
        autotuning-gemm.md
        compile-with-tvm-ffi.md
        dsl-ahead-of-time-compilation.md
        naming-conventions.md
        deprecation-policy.md
        mma-intro.md
        mma-wmma-programming.md
        mma-wgmma-programming.md
        mma-tcgen05-programming.md
        limitations.md
        faqs.md
        api-overview.md
        api-cute.md
        api-cute-arch.md
        api-cute-runtime.md
        api-cute-nvgpu.md
        api-cute-nvgpu-common.md
        api-cute-nvgpu-warp.md
        api-cute-nvgpu-warpgroup.md
        api-cute-nvgpu-cpasync.md
        api-cute-nvgpu-tcgen05.md
        api-pipeline.md
        api-utils.md
        api-utils-sm90.md
        api-utils-sm100.md
      operator-api/
        README.md
        overview.md
        tutorials.md
        tutorial-000-gemm.md
        tutorial-001-gemm-fused-epilogue.md
        tutorial-002-bring-your-own-kernel.md
        tutorial-003-host-latency-best-practices.md
        tutorial-004-fake-tensors.md
        tutorial-005-grouped-gemm-contiguous-offset.md
        tutorial-006-block-scaled-gemm.md
        api-reference.md
        api-operator.md
        api-arguments.md
        api-discovery.md
        api-metadata.md
        api-misc.md
      cpp/
        README.md
        overview.md
        getting-started.md
        quickstart.md
        ide-setup.md
        build.md
        build-windows-visual-studio.md
        build-clang-host-compiler.md
        functionality.md
        terminology.md
        fundamental-types.md
        programming-guidelines.md
        gemm-heuristics.md
        efficient-gemm.md
        pipeline.md
        profiler.md
        gemm-performance-measurement.md
        dependent-kernel-launch.md
        blackwell.md
        blackwell-sm100-gemm.md
        blackwell-cluster-launch-control.md
        code-organization.md
        cute.md
        cute-quickstart.md
        cute-layout.md
        cute-layout-algebra.md
        cute-tensor.md
        cute-algorithms.md
        cute-mma-atom.md
        cute-gemm-tutorial.md
        cute-predication.md
        cute-tma-tensors.md
        cutlass-3x.md
        cutlass-3x-design.md
        cutlass-3x-backwards-compatibility.md
        gemm-api-3x.md
        cutlass-2x.md
        layout-2x.md
        gemm-api-2x.md
        tile-iterator-concept.md
        utilities.md
        grouped-scheduler.md
        implicit-gemm-convolution.md
  samples/
    README.md
    async-copy-pipeline.md
    cooperative-groups-reduction.md
    cuda-graph-explicit-nodes.md
    cuda-graph-stream-capture.md
    cute-dsl-gemm.md
    cutlass-cpp-device-gemm.md
    cutlass-operator-api-gemm.md
    explicit-memory-transfer.md
    multi-gpu-peer-to-peer.md
    shared-memory-tiled-matmul.md
    stream-ordered-allocation.md
    stream-overlap.md
    tile-kernel-vector-add.md
    unified-memory.md
    vector-add-kernel.md
  scripts/
    README.md
    install.md
    nvcc-build.md
    binary-utilities.md
    sanitize.md
    debug.md
    nsight-systems.md
    nsight-compute.md
    gpu-query.md
    cutlass-build.md
text
skills/nvidia-cuda/
  SKILL.md
  references/
    programming-model/
      README.md
      introduction.md
      programming-model.md
      cuda-platform.md
      intro-to-cuda-cpp.md
      intro-to-cuda-python.md
      writing-cuda-kernels.md
      writing-tile-kernels.md
      asynchronous-execution.md
      understanding-memory.md
      nvcc.md
    advanced/
      README.md
      core/
        README.md
        advanced-host-programming.md
        advanced-kernel-programming.md
        driver-api.md
        multi-gpu-systems.md
        feature-survey.md
      features/
        README.md
        unified-memory.md
        cuda-graphs.md
        stream-ordered-memory-allocation.md
        cooperative-groups.md
        programmatic-dependent-launch.md
        green-contexts.md
        lazy-loading.md
        error-log-management.md
        async-barriers.md
        pipelines.md
        async-copies.md
        cluster-launch-control.md
        l2-cache-control.md
        memory-sync-domains.md
        inter-process-communication.md
        virtual-memory-management.md
        extended-gpu-memory.md
        dynamic-parallelism.md
        graphics-interop.md
        driver-entry-point-access.md
      appendices/
        README.md
        compute-capabilities.md
        environment-variables.md
        cpp-language-support.md
        cpp-language-extensions.md
        mathematical-functions.md
        device-callable-apis.md
        cuda-cpp-memory-model.md
        cuda-cpp-execution-model.md
    ptx-isa/
      README.md
      introduction.md
      programming-model.md
      machine-model.md
      syntax.md
      state-spaces-types-variables.md
      instruction-operands.md
      abi.md
      memory-consistency-model.md
      instruction-set-overview.md
      instructions-arithmetic.md
      instructions-comparison-logic.md
      instructions-data-movement.md
      instructions-texture-surface.md
      instructions-control-flow.md
      instructions-sync-communication.md
      instructions-matrix-multiply.md
      instructions-video-misc.md
      special-registers.md
      directives.md
      pragma-strings.md
      release-notes.md
    blackwell-tuning/
      README.md
      architecture.md
      best-practices.md
      streaming-multiprocessor.md
      memory-system.md
      nvlink.md
    cutlass/
      README.md
      cute-dsl/
        README.md
        overview.md
        functionality.md
        quick-start.md
        cute-dsl.md
        dsl-introduction.md
        dsl-code-generation.md
        dsl-control-flow.md
        dsl-jit-arg-generation.md
        dsl-dynamic-layout.md
        dsl-struct-types.md
        dsl-jit-caching.md
        dsl-jit-compilation-options.md
        dsl-types.md
        framework-integration.md
        debugging.md
        iket-profiling.md
        autotuning-gemm.md
        compile-with-tvm-ffi.md
        dsl-ahead-of-time-compilation.md
        naming-conventions.md
        deprecation-policy.md
        mma-intro.md
        mma-wmma-programming.md
        mma-wgmma-programming.md
        mma-tcgen05-programming.md
        limitations.md
        faqs.md
        api-overview.md
        api-cute.md
        api-cute-arch.md
        api-cute-runtime.md
        api-cute-nvgpu.md
        api-cute-nvgpu-common.md
        api-cute-nvgpu-warp.md
        api-cute-nvgpu-warpgroup.md
        api-cute-nvgpu-cpasync.md
        api-cute-nvgpu-tcgen05.md
        api-pipeline.md
        api-utils.md
        api-utils-sm90.md
        api-utils-sm100.md
      operator-api/
        README.md
        overview.md
        tutorials.md
        tutorial-000-gemm.md
        tutorial-001-gemm-fused-epilogue.md
        tutorial-002-bring-your-own-kernel.md
        tutorial-003-host-latency-best-practices.md
        tutorial-004-fake-tensors.md
        tutorial-005-grouped-gemm-contiguous-offset.md
        tutorial-006-block-scaled-gemm.md
        api-reference.md
        api-operator.md
        api-arguments.md
        api-discovery.md
        api-metadata.md
        api-misc.md
      cpp/
        README.md
        overview.md
        getting-started.md
        quickstart.md
        ide-setup.md
        build.md
        build-windows-visual-studio.md
        build-clang-host-compiler.md
        functionality.md
        terminology.md
        fundamental-types.md
        programming-guidelines.md
        gemm-heuristics.md
        efficient-gemm.md
        pipeline.md
        profiler.md
        gemm-performance-measurement.md
        dependent-kernel-launch.md
        blackwell.md
        blackwell-sm100-gemm.md
        blackwell-cluster-launch-control.md
        code-organization.md
        cute.md
        cute-quickstart.md
        cute-layout.md
        cute-layout-algebra.md
        cute-tensor.md
        cute-algorithms.md
        cute-mma-atom.md
        cute-gemm-tutorial.md
        cute-predication.md
        cute-tma-tensors.md
        cutlass-3x.md
        cutlass-3x-design.md
        cutlass-3x-backwards-compatibility.md
        gemm-api-3x.md
        cutlass-2x.md
        layout-2x.md
        gemm-api-2x.md
        tile-iterator-concept.md
        utilities.md
        grouped-scheduler.md
        implicit-gemm-convolution.md
  samples/
    README.md
    async-copy-pipeline.md
    cooperative-groups-reduction.md
    cuda-graph-explicit-nodes.md
    cuda-graph-stream-capture.md
    cute-dsl-gemm.md
    cutlass-cpp-device-gemm.md
    cutlass-operator-api-gemm.md
    explicit-memory-transfer.md
    multi-gpu-peer-to-peer.md
    shared-memory-tiled-matmul.md
    stream-ordered-allocation.md
    stream-overlap.md
    tile-kernel-vector-add.md
    unified-memory.md
    vector-add-kernel.md
  scripts/
    README.md
    install.md
    nvcc-build.md
    binary-utilities.md
    sanitize.md
    debug.md
    nsight-systems.md
    nsight-compute.md
    gpu-query.md
    cutlass-build.md

探索手順

探索流程

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの
    references/{category}/README.md
    advanced/
    cutlass/
    はサブディレクトリの README.md)を参照して目的のページを特定する
  3. 該当ページの
    .md
    を Read して詳細を確認する
GB10 Grace Blackwell 実機のハードウェア仕様・DGX OS・PXE/fleet 運用・playbook 起動手順は
dgx-spark
スキル、 リモート接続管理・VS Code 起動等のデスクトップアプリ操作は
nvidia-sync
スキルを参照。 本スキルは CUDA C++/Python の書き方・PTX 命令・CUTLASS API を担当する。
从任务对应到分类,通过分类的README.md确定目标页面:
  1. 在下方映射表中查找任务对应的分类
  2. 参考该分类的
    references/{category}/README.md
    advanced/
    cutlass/
    需查看子目录的README.md)确定目标页面
  3. 阅读对应页面的.md文件了解详细内容
GB10 Grace Blackwell实体机的硬件规格、DGX OS、PXE/fleet运维、playbook启动流程请参考
dgx-spark
技能; 远程连接管理、VS Code启动等桌面应用操作请参考
nvidia-sync
技能。 本技能负责CUDA C++/Python的编写方法、PTX指令、CUTLASS API相关内容。

タスク → カテゴリ マッピング

任务 → 分类 映射表

タスクカテゴリ参照 README
CUDA とは何か・GPU 階層モデル・CUDA プラットフォームの全体像を知りたいprogramming-modelreferences/programming-model/README.md
CUDA C++/Python でカーネルを書く、nvcc でビルドする、非同期実行・ストリームを扱うprogramming-modelreferences/programming-model/README.md
advanced カテゴリ全体の構成(core / features / appendices)を確認したいadvancedreferences/advanced/README.md
Driver API・マルチ GPU・advanced host/kernel programming を調べたいadvanced/corereferences/advanced/core/README.md
CUDA Graphs / Cooperative Groups / Unified Memory / VMM / IPC 等の機能 API を調べたいadvanced/featuresreferences/advanced/features/README.md
Compute Capability・環境変数・C++ 言語拡張・メモリ/実行モデルの技術付録を調べたいadvanced/appendicesreferences/advanced/appendices/README.md
PTX 命令セット・state space・レジスタ・memory consistency model を調べたいptx-isareferences/ptx-isa/README.md
Blackwell アーキテクチャ・SM occupancy・NVLink・メモリシステムのチューニングを知りたいblackwell-tuningreferences/blackwell-tuning/README.md
CUTLASS/CuTe 全体のカテゴリ構成(CuTe DSL / Operator API / C++)を確認したいcutlassreferences/cutlass/README.md
CuTe DSL (Python) で GEMM・MMA・レイアウトを書きたいcutlass/cute-dslreferences/cutlass/cute-dsl/README.md
CUTLASS Operator API(Python、コンパイル済みカーネル呼び出し)を使いたいcutlass/operator-apireferences/cutlass/operator-api/README.md
CUTLASS C++ / CuTe C++ でテンプレートベースの GEMM カーネルを実装したいcutlass/cppreferences/cutlass/cpp/README.md
典型的な使い方を知りたい(vector add, tiled matmul, GEMM, CUDA Graphs 等)samplessamples/README.md
インストール・nvcc ビルド・nsight プロファイリング・compute-sanitizer コマンドを知りたいscriptsscripts/README.md
任务分类参考README
想了解CUDA是什么、GPU层级模型、CUDA平台整体架构programming-modelreferences/programming-model/README.md
用CUDA C++/Python编写kernel、用nvcc构建、处理异步执行/流programming-modelreferences/programming-model/README.md
查看advanced分类的整体结构(core/features/appendices)advancedreferences/advanced/README.md
查找Driver API、多GPU、进阶主机/kernel编程相关内容advanced/corereferences/advanced/core/README.md
查找CUDA Graphs/Cooperative Groups/Unified Memory/VMM/IPC等功能APIadvanced/featuresreferences/advanced/features/README.md
查找Compute Capability、环境变量、C++语言扩展、内存/执行模型等技术附录advanced/appendicesreferences/advanced/appendices/README.md
查找PTX指令集、state space、寄存器、内存一致性模型相关内容ptx-isareferences/ptx-isa/README.md
想了解Blackwell架构、SM占用率、NVLink、内存系统调优blackwell-tuningreferences/blackwell-tuning/README.md
查看CUTLASS/CuTe的整体分类结构(CuTe DSL/Operator API/C++)cutlassreferences/cutlass/README.md
想用CuTe DSL (Python)编写GEMM、MMA、布局cutlass/cute-dslreferences/cutlass/cute-dsl/README.md
想使用CUTLASS Operator API(Python,调用已编译kernel)cutlass/operator-apireferences/cutlass/operator-api/README.md
想用CUTLASS C++/CuTe C++实现基于模板的GEMM kernelcutlass/cppreferences/cutlass/cpp/README.md
想了解典型用法(vector add、tiled matmul、GEMM、CUDA Graphs等)samplessamples/README.md
想了解安装、nvcc构建、nsight性能分析、compute-sanitizer命令scriptsscripts/README.md