rlscope.parser package¶
Submodules¶
rlscope.parser.calibration module¶
rlscope.parser.common module¶
rlscope.parser.constants module¶
Constants used in collected trace files.
WARNING: if you change the values of these (e.g., CATEGORY_*), future analysis and plot generation will fail…so don’t do that!
-
rlscope.parser.constants.
CATEGORY_PYTHON
¶ Python time.
- Type
str
-
rlscope.parser.constants.
CATEGORY_CUDA_API_CPU
¶ CUDA API time.
- Type
str
-
rlscope.parser.constants.
CATEGORY_GPU
¶ GPU kernel and memcpy time.
- Type
str
-
rlscope.parser.constants.
CATEGORY_SIMULATOR_CPP
¶ Simulator native library time.
- Type
str
-
rlscope.parser.constants.
CATEGORY_TF_API
¶ DL backend native library time.
- Type
str
-
rlscope.parser.constants.
CATEGORY_OPERATION
¶ User annotation (i.e.,
rlscope.api.Profiler.operation()
)- Type
str
-
rlscope.parser.constants.
CATEGORY_PROF_CUPTI
¶ Profiling overhead: closed-source inflation within CUDA API calls (e.g.,
cudaLaunchKernel
,cudaMemcpyAsync
) when CUPTI is enabled- Type
str
-
rlscope.parser.constants.
CATEGORY_PROF_LD_PRELOAD
¶ Profiling overhead: overhead from intercepting CUDA API using CUPTI library.
- Type
str
-
rlscope.parser.constants.
CATEGORY_PROF_PYTHON_ANNOTATION
¶ Profiling overhead: overhead from user-level annotations.
- Type
str
-
rlscope.parser.constants.
CATEGORY_PROF_PYTHON_INTERCEPTION
¶ Profiling overhead: overhead from intercepting Python \(\leftrightarrow\) C library calls.
- Type
str