OpenACC Profiling Quiz¶
Question 1¶
What does setting export NVCOMPILER_ACC_TIME=16
enable during profiling?
- A) Kernel launches
- B) Data transfers
- C) Device memory allocation and deallocation
- D) Region entry/exit information
Answer: C) Device memory allocation and deallocation
Question 2¶
Which of the following statements is correct about OpenACC profiling using the command line?
- A) Setting
NVCOMPILER_ACC_NOTIFY=3
provides information about kernel launches and synchronization wait times. - B) Setting
NVCOMPILER_ACC_TIME=4
provides region entry/exit information. - C)
NVCOMPILER_ACC_NOTIFY=3
provides kernel execution and data transfer information. - D)
NVCOMPILER_ACC_TIME=2
provides memory allocation details.
Answer: C) NVCOMPILER_ACC_NOTIFY=3
provides kernel execution and data transfer information.
Question 3 (True/False)¶
True or False: The NVIDIA HPC SDK Visual Profiler allows multiple timelines to be opened simultaneously in different tabs for OpenACC profiling.
Answer: True
Question 4 (True/False)¶
True or False: The command nsys profile -o timeline ./a.out
generates a GUI-friendly report that can only be opened using nsys-ui
.
Answer: True
Question 5¶
Which modules are required to enable GUI profiling tools on MeluXina?
- A)
NVHPC/22.7
,CUDA/11.7.0
,Mesa/22.0.3-GCCcore-11.3.0
,Qt5/5.15.5-GCCcore-11.3.0
- B)
NVHPC/22.7
,OpenACC/22.7
,Mesa/22.0.3-GCCcore-11.3.0
,Qt6/6.2.5-GCCcore-11.3.0
- C)
CUDA/11.7.0
,NVHPC/22.7
,OpenMP/4.5.0
- D)
Mesa/22.0.3
,CUDA/11.7.0
,OpenACC/5.0
Answer: A) NVHPC/22.7
, CUDA/11.7.0
, Mesa/22.0.3-GCCcore-11.3.0
, Qt5/5.15.5-GCCcore-11.3.0