CUDA 二进制工具是什么CUDA Binary Utilities
CUDA二进制工具集(CUDA Binary Utilities)是一套用于检查二进制文件内容的工具集合,例如由 NVIDIA CUDA 编译器驱动程序 (nvcc) 输出的文件。
其中一个工具 cuobjdump 可用于检查和操作整个主机二进制文件,或者通常嵌入在这些二进制文件中的 CUDA 特定 cubin 文件。
另一个工具 nvidisasm 则专门用于操作 cubin 文件。它可以提取 SASS 汇编器 (Streaming Assembler) 并对其进行操作,例如构建控制流图以及将汇编指令映射到 CUDA 程序文件中的代码行。
您可以在 此处 找到相关文档。
英文原文(Modal GPU Glossary)
The CUDA Binary Utilities are a collection of tools for examining the contents of binaries like those output by nvcc, the NVIDIA CUDA Compiler driver.
One tool, cuobjdump, can be used to examine and manipulate the contents of entire host binaries or of the CUDA-specific cubin files that are normally embedded within those binaries.
Another, nvidisasm, is intended for manipulating cubin files. It can extract SASS assembler and manipulate it, e.g. constructing control flow graphs and mapping assembly instructions to lines in CUDA program files.
You can find their documentation here.
相关词条
本词条改编自 Modal GPU Glossary(CC BY 4.0)· 中文翻译 miter6/gpu-glossary-zh,MAE 整理排版。