nvidia-cuda-profiler-api 13.0.39__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,216 @@
1
+ /*
2
+ * Copyright 1993-2018 NVIDIA Corporation. All rights reserved.
3
+ *
4
+ * NOTICE TO LICENSEE:
5
+ *
6
+ * This source code and/or documentation ("Licensed Deliverables") are
7
+ * subject to NVIDIA intellectual property rights under U.S. and
8
+ * international Copyright laws.
9
+ *
10
+ * These Licensed Deliverables contained herein is PROPRIETARY and
11
+ * CONFIDENTIAL to NVIDIA and is being provided under the terms and
12
+ * conditions of a form of NVIDIA software license agreement by and
13
+ * between NVIDIA and Licensee ("License Agreement") or electronically
14
+ * accepted by Licensee. Notwithstanding any terms or conditions to
15
+ * the contrary in the License Agreement, reproduction or disclosure
16
+ * of the Licensed Deliverables to any third party without the express
17
+ * written consent of NVIDIA is prohibited.
18
+ *
19
+ * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
20
+ * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE
21
+ * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE. IT IS
22
+ * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
23
+ * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED
24
+ * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
25
+ * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
26
+ * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
27
+ * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY
28
+ * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
29
+ * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
30
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
31
+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
32
+ * OF THESE LICENSED DELIVERABLES.
33
+ *
34
+ * U.S. Government End Users. These Licensed Deliverables are a
35
+ * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT
36
+ * 1995), consisting of "commercial computer software" and "commercial
37
+ * computer software documentation" as such terms are used in 48
38
+ * C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government
39
+ * only as a commercial end item. Consistent with 48 C.F.R.12.212 and
40
+ * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all
41
+ * U.S. Government End Users acquire the Licensed Deliverables with
42
+ * only those rights set forth herein.
43
+ *
44
+ * Any use of the Licensed Deliverables in individual and commercial
45
+ * software must include, in the user documentation and internal
46
+ * comments to the code, the above Disclaimer and U.S. Government End
47
+ * Users Notice.
48
+ */
49
+
50
+ #ifndef cuda_profiler_H
51
+ #define cuda_profiler_H
52
+
53
+ #include <cuda.h>
54
+
55
+ #if defined(__CUDA_API_VERSION_INTERNAL) || defined(__DOXYGEN_ONLY__) || defined(CUDA_ENABLE_DEPRECATED)
56
+ #define __CUDA_DEPRECATED
57
+ #elif defined(_MSC_VER)
58
+ #define __CUDA_DEPRECATED __declspec(deprecated)
59
+ #elif defined(__GNUC__)
60
+ #define __CUDA_DEPRECATED __attribute__((deprecated))
61
+ #else
62
+ #define __CUDA_DEPRECATED
63
+ #endif
64
+
65
+ #ifdef __cplusplus
66
+ extern "C" {
67
+ #endif
68
+
69
+ /**
70
+ * Profiler Output Modes
71
+ */
72
+ /*DEVICE_BUILTIN*/
73
+ typedef enum CUoutput_mode_enum
74
+ {
75
+ CU_OUT_KEY_VALUE_PAIR = 0x00, /**< Output mode Key-Value pair format. */
76
+ CU_OUT_CSV = 0x01 /**< Output mode Comma separated values format. */
77
+ }CUoutput_mode;
78
+
79
+
80
+ /**
81
+ * \ingroup CUDA_DRIVER
82
+ * \defgroup CUDA_PROFILER_DEPRECATED Profiler Control [DEPRECATED]
83
+ *
84
+ * ___MANBRIEF___ profiler control functions of the low-level CUDA driver API
85
+ * (___CURRENT_FILE___) ___ENDMANBRIEF___
86
+ *
87
+ * This section describes the profiler control functions of the low-level CUDA
88
+ * driver application programming interface.
89
+ *
90
+ * @{
91
+ */
92
+
93
+ /**
94
+ * \brief Initialize the profiling.
95
+ *
96
+ * \deprecated
97
+ *
98
+ * Note that this function is deprecated and should not be used.
99
+ * Starting with CUDA 12.0, it always returns error code ::CUDA_ERROR_NOT_SUPPORTED.
100
+ *
101
+ * Using this API user can initialize the CUDA profiler by specifying
102
+ * the configuration file, output file and output file format. This
103
+ * API is generally used to profile different set of counters by
104
+ * looping the kernel launch. The \p configFile parameter can be used
105
+ * to select profiling options including profiler counters. Refer to
106
+ * the "Compute Command Line Profiler User Guide" for supported
107
+ * profiler options and counters.
108
+ *
109
+ * Limitation: The CUDA profiler cannot be initialized with this API
110
+ * if another profiling tool is already active, as indicated by the
111
+ * ::CUDA_ERROR_PROFILER_DISABLED return code.
112
+ *
113
+ * Typical usage of the profiling APIs is as follows:
114
+ *
115
+ * for each set of counters/options\n
116
+ * {\n
117
+ * cuProfilerInitialize(); //Initialize profiling, set the counters or options in the config file \n
118
+ * ...\n
119
+ * cuProfilerStart(); \n
120
+ * // code to be profiled \n
121
+ * cuProfilerStop(); \n
122
+ * ...\n
123
+ * cuProfilerStart(); \n
124
+ * // code to be profiled \n
125
+ * cuProfilerStop(); \n
126
+ * ...\n
127
+ * }\n
128
+ *
129
+ * \param configFile - Name of the config file that lists the counters/options
130
+ * for profiling.
131
+ * \param outputFile - Name of the outputFile where the profiling results will
132
+ * be stored.
133
+ * \param outputMode - outputMode, can be ::CU_OUT_KEY_VALUE_PAIR or ::CU_OUT_CSV.
134
+ *
135
+ * \return
136
+ * ::CUDA_ERROR_NOT_SUPPORTED
137
+ * \notefnerr
138
+ *
139
+ * \sa
140
+ * ::cuProfilerStart,
141
+ * ::cuProfilerStop,
142
+ */
143
+ __CUDA_DEPRECATED CUresult CUDAAPI cuProfilerInitialize(const char *configFile, const char *outputFile, CUoutput_mode outputMode);
144
+
145
+ /** @} */ /* END CUDA_PROFILER_DEPRECATED */
146
+
147
+ /**
148
+ * \ingroup CUDA_DRIVER
149
+ * \defgroup CUDA_PROFILER Profiler Control
150
+ *
151
+ * ___MANBRIEF___ profiler control functions of the low-level CUDA driver API
152
+ * (___CURRENT_FILE___) ___ENDMANBRIEF___
153
+ *
154
+ * This section describes the profiler control functions of the low-level CUDA
155
+ * driver application programming interface.
156
+ *
157
+ * @{
158
+ */
159
+
160
+ /**
161
+ * \brief Enable profiling.
162
+ *
163
+ * Enables profile collection by the active profiling tool for the
164
+ * current context. If profiling is already enabled, then
165
+ * cuProfilerStart() has no effect.
166
+ *
167
+ * cuProfilerStart and cuProfilerStop APIs are used to
168
+ * programmatically control the profiling granularity by allowing
169
+ * profiling to be done only on selective pieces of code.
170
+ *
171
+ *
172
+ * \return
173
+ * ::CUDA_SUCCESS,
174
+ * ::CUDA_ERROR_INVALID_CONTEXT
175
+ * \notefnerr
176
+ *
177
+ * \sa
178
+ * ::cuProfilerInitialize,
179
+ * ::cuProfilerStop,
180
+ * ::cudaProfilerStart
181
+ */
182
+ CUresult CUDAAPI cuProfilerStart(void);
183
+
184
+ /**
185
+ * \brief Disable profiling.
186
+ *
187
+ * Disables profile collection by the active profiling tool for the
188
+ * current context. If profiling is already disabled, then
189
+ * cuProfilerStop() has no effect.
190
+ *
191
+ * cuProfilerStart and cuProfilerStop APIs are used to
192
+ * programmatically control the profiling granularity by allowing
193
+ * profiling to be done only on selective pieces of code.
194
+ *
195
+ * \return
196
+ * ::CUDA_SUCCESS,
197
+ * ::CUDA_ERROR_INVALID_CONTEXT
198
+ * \notefnerr
199
+ *
200
+ * \sa
201
+ * ::cuProfilerInitialize,
202
+ * ::cuProfilerStart,
203
+ * ::cudaProfilerStop
204
+ */
205
+ CUresult CUDAAPI cuProfilerStop(void);
206
+
207
+ /** @} */ /* END CUDA_PROFILER */
208
+
209
+ #ifdef __cplusplus
210
+ };
211
+ #endif
212
+
213
+ #undef __CUDA_DEPRECATED
214
+
215
+ #endif
216
+
@@ -0,0 +1,134 @@
1
+ /*
2
+ * Copyright 1993-2012 NVIDIA Corporation. All rights reserved.
3
+ *
4
+ * NOTICE TO LICENSEE:
5
+ *
6
+ * This source code and/or documentation ("Licensed Deliverables") are
7
+ * subject to NVIDIA intellectual property rights under U.S. and
8
+ * international Copyright laws.
9
+ *
10
+ * These Licensed Deliverables contained herein is PROPRIETARY and
11
+ * CONFIDENTIAL to NVIDIA and is being provided under the terms and
12
+ * conditions of a form of NVIDIA software license agreement by and
13
+ * between NVIDIA and Licensee ("License Agreement") or electronically
14
+ * accepted by Licensee. Notwithstanding any terms or conditions to
15
+ * the contrary in the License Agreement, reproduction or disclosure
16
+ * of the Licensed Deliverables to any third party without the express
17
+ * written consent of NVIDIA is prohibited.
18
+ *
19
+ * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
20
+ * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE
21
+ * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE. IT IS
22
+ * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
23
+ * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED
24
+ * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
25
+ * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
26
+ * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
27
+ * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY
28
+ * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
29
+ * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
30
+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
31
+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
32
+ * OF THESE LICENSED DELIVERABLES.
33
+ *
34
+ * U.S. Government End Users. These Licensed Deliverables are a
35
+ * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT
36
+ * 1995), consisting of "commercial computer software" and "commercial
37
+ * computer software documentation" as such terms are used in 48
38
+ * C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government
39
+ * only as a commercial end item. Consistent with 48 C.F.R.12.212 and
40
+ * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all
41
+ * U.S. Government End Users acquire the Licensed Deliverables with
42
+ * only those rights set forth herein.
43
+ *
44
+ * Any use of the Licensed Deliverables in individual and commercial
45
+ * software must include, in the user documentation and internal
46
+ * comments to the code, the above Disclaimer and U.S. Government End
47
+ * Users Notice.
48
+ */
49
+
50
+ #if !defined(__CUDA_PROFILER_API_H__)
51
+ #define __CUDA_PROFILER_API_H__
52
+
53
+ #include "driver_types.h"
54
+
55
+ #if defined(__CUDA_API_VERSION_INTERNAL) || defined(__DOXYGEN_ONLY__) || defined(CUDA_ENABLE_DEPRECATED)
56
+ #define __CUDA_DEPRECATED
57
+ #elif defined(_MSC_VER)
58
+ #define __CUDA_DEPRECATED __declspec(deprecated)
59
+ #elif defined(__GNUC__)
60
+ #define __CUDA_DEPRECATED __attribute__((deprecated))
61
+ #else
62
+ #define __CUDA_DEPRECATED
63
+ #endif
64
+
65
+ #if defined(__cplusplus)
66
+ extern "C" {
67
+ #endif /* __cplusplus */
68
+
69
+ /**
70
+ * \ingroup CUDART
71
+ * \defgroup CUDART_PROFILER Profiler Control
72
+ *
73
+ * ___MANBRIEF___ profiler control functions of the CUDA runtime API
74
+ * (___CURRENT_FILE___) ___ENDMANBRIEF___
75
+ *
76
+ * This section describes the profiler control functions of the CUDA runtime
77
+ * application programming interface.
78
+ *
79
+ * @{
80
+ */
81
+
82
+ /**
83
+ * \brief Enable profiling.
84
+ *
85
+ * Enables profile collection by the active profiling tool for the
86
+ * current context. If profiling is already enabled, then
87
+ * cudaProfilerStart() has no effect.
88
+ *
89
+ * cudaProfilerStart and cudaProfilerStop APIs are used to
90
+ * programmatically control the profiling granularity by allowing
91
+ * profiling to be done only on selective pieces of code.
92
+ *
93
+ *
94
+ * \return
95
+ * ::cudaSuccess
96
+ * \notefnerr
97
+ *
98
+ * \sa
99
+ * ::cudaProfilerStop,
100
+ * ::cuProfilerStart
101
+ */
102
+ extern __host__ cudaError_t CUDARTAPI cudaProfilerStart(void);
103
+
104
+ /**
105
+ * \brief Disable profiling.
106
+ *
107
+ * Disables profile collection by the active profiling tool for the
108
+ * current context. If profiling is already disabled, then
109
+ * cudaProfilerStop() has no effect.
110
+ *
111
+ * cudaProfilerStart and cudaProfilerStop APIs are used to
112
+ * programmatically control the profiling granularity by allowing
113
+ * profiling to be done only on selective pieces of code.
114
+ *
115
+ * \return
116
+ * ::cudaSuccess
117
+ * \notefnerr
118
+ *
119
+ * \sa
120
+ * ::cudaProfilerStart,
121
+ * ::cuProfilerStop
122
+ */
123
+ extern __host__ cudaError_t CUDARTAPI cudaProfilerStop(void);
124
+
125
+ /** @} */ /* END CUDART_PROFILER */
126
+
127
+ #undef __CUDA_DEPRECATED
128
+
129
+ #if defined(__cplusplus)
130
+ }
131
+ #endif /* __cplusplus */
132
+
133
+ #endif /* !__CUDA_PROFILER_API_H__ */
134
+
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.4
2
+ Name: nvidia-cuda-profiler-api
3
+ Version: 13.0.39
4
+ Summary: CUDA Profiler API
5
+ Home-page: https://developer.nvidia.com/cuda-zone
6
+ Author: Nvidia CUDA Installer Team
7
+ Author-email: compute_installer@nvidia.com
8
+ License: LicenseRef-NVIDIA-Proprietary
9
+ Keywords: cuda,nvidia,runtime,machine learning,deep learning
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Education
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: Other/Proprietary License
15
+ Classifier: Natural Language :: English
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.5
18
+ Classifier: Programming Language :: Python :: 3.6
19
+ Classifier: Programming Language :: Python :: 3.7
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3 :: Only
25
+ Classifier: Topic :: Scientific/Engineering
26
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
27
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
28
+ Classifier: Topic :: Software Development
29
+ Classifier: Topic :: Software Development :: Libraries
30
+ Classifier: Operating System :: Microsoft :: Windows
31
+ Classifier: Operating System :: POSIX :: Linux
32
+ Requires-Python: >=3
33
+ License-File: License.txt
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: license-file
42
+ Dynamic: requires-python
43
+ Dynamic: summary
44
+
45
+ Provides a set of API's to enable third party tools to write GPU profiling tools.
@@ -0,0 +1,7 @@
1
+ nvidia/cu13/include/cudaProfiler.h,sha256=ucn6cTQbaT-fCw6oBx4SoIaayZr-ZpNFoCFFFjhnVg0,7019
2
+ nvidia/cu13/include/cuda_profiler_api.h,sha256=yJc2ePDIIeejk44M43_Wr0nDtJlbIVsgTBlZAC9VgyI,4700
3
+ nvidia_cuda_profiler_api-13.0.39.dist-info/licenses/License.txt,sha256=rW9YU_ugyg0VnQ9Y1JrkmDDC-Mk_epJki5zpCttMbM0,59262
4
+ nvidia_cuda_profiler_api-13.0.39.dist-info/METADATA,sha256=_ASIEYPrMSEbCBAucIHNThzzhJpTDfzzc6W_jxP8xdA,1748
5
+ nvidia_cuda_profiler_api-13.0.39.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
6
+ nvidia_cuda_profiler_api-13.0.39.dist-info/top_level.txt,sha256=fTkAtiFuL16nUrB9ytDDtpytz2t0B4NvYTnRzwAhO14,7
7
+ nvidia_cuda_profiler_api-13.0.39.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_amd64
5
+