https://github.com/zhuzilin/nvcc_daxpy_example
https://github.com/zhuzilin/nvcc_daxpy_example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhuzilin/nvcc_daxpy_example
- Owner: zhuzilin
- Created: 2022-06-05T14:33:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T15:12:07.000Z (about 3 years ago)
- Last Synced: 2025-01-20T11:24:02.315Z (5 months ago)
- Language: C++
- Size: 388 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nvcc daxy example
An example to illustate all the intermediate output during nvcc compilation.
This could help you have better understand of the cuda compilate trajectory in the [nvcc manual](https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#cuda-compilation-trajectory).

The command to get all the intermediate commands is:
```bash
nvcc -o daxpy daxpy.cu -arch=sm_75 --verbose 2> nvcc_verbose.log
```The `*.dump` file is created with:
```bash
cuobjdump --dump-elf x.cubin > x.cubin.dump
```