cupy.cuda.profiler.initialize#

cupy.cuda.profiler.initialize(unicode config_file, unicode output_file, int output_mode)#

Initialize the CUDA profiler.

This function initialize the CUDA profiler. See the CUDA document for detail.

Parameters
  • config_file (str) – Name of the configuration file.

  • output_file (str) – Name of the output file.

  • output_mode (int) – cupy.cuda.profiler.cudaKeyValuePair or cupy.cuda.profiler.cudaCSV.

Warning

This API is marked as deprecated in CUDA 11, and has been removed in CUDA 12. This CuPy interface is subject to removal in future releases.