External Resources
- Check the current list of blog posts
- Check the current list of training videos
- Have a look at our coding examples on GitHub
Usage Examples
2.1. Filter Options
- Profile first two workloads
--launch-count 2
- Profile first two workloads launched on device with device ID 1
- Profile 2nd workload on each gpu
- Skip first 2 workloads of each launch configuration before profiling
--launch-skip 2 --filter-mode per-launch-config
- Profile "Bar" kernel
- Profile kernels which have "Bar" in function name
- Profile only 2nd invocation of kernel "Foo"
- Profile only 2nd invocation of all kernels which have "Bar" in name
- Skip first 2 workloads before matching "Foo" or "Bar" in kernel names
- Profile all 7th kernel invocations with mangled name "_FooBar" on CUDA context ID 1 and stream ID 2
--kernel-id 1:2:_Foobar:7 --kernel-name-base mangled
- Profile all workloads launched in first 3 cu(da)ProfilerStart/Stop APIs created ranges
- Profile all workloads launched in 2nd NVTX Push/Pop range A
- Profile all workloads launched in NVTX Push/Pop range A except the ones in NVTX Push/Pop range B
- Profile all "Foo" kernels except those launched in NVTX Push/Pop range B
- Profile all workloads launched in 2nd NVTX Start/End range A inside 2nd cu(da)ProfilerStart/Stop APIs created range
- Profile all workloads launched in 1st NVTX Push/Pop range A inside both 1st and 2nd cu(da)ProfilerStart/Stop APIs created range
- Profile all workloads launched in 1st cu(da)ProfilerStart/Stop APIs created range with 2nd NVTX push/pop range A and domain
D
--range-filter no:1:2 --nvtx --nvtx-include D@A/
Notices
Notice
ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, "MATERIALS") ARE BEING PROVIDED "AS IS." NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication of otherwise under any patent rights of NVIDIA Corporation. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all other information previously supplied. NVIDIA Corporation products are not authorized as critical components in life support devices or systems without express written approval of NVIDIA Corporation.