You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1e81c7e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: cuda_bindings_13/docs/source/module/v2_migration.rst
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ The ``cuda.bindings._v2.driver`` module replaces ``cuda.bindings.driver``. The d
94
94
Functions
95
95
---------
96
96
97
-
Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module exposes only the unsuffixed name, while the new module keeps the suffix, so one legacy function can map to several new ones. Only changes to parameters and return values beyond the general rules above are noted. Renamed parameters are not listed.
97
+
Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module generally exposes only the unsuffixed name, while the new module keeps the suffix, so one legacy function can map to several new ones. A few legacy functions (``cuCtxGetDevice_v2`` and similar) already carry the suffix. They have their own rows and map to the new function of the same name. Only changes to parameters and return values beyond the general rules above are noted. Renamed parameters are not listed.
98
98
99
99
.. list-table::
100
100
:header-rows: 1
@@ -205,6 +205,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
205
205
* - ``cuCtxGetDevice``
206
206
- ``ctx_get_device_v2``
207
207
- Parameters added: ``ctx``.
208
+
* - ``cuCtxGetDevice_v2``
209
+
- ``ctx_get_device_v2``
210
+
-
208
211
* - ``cuCtxGetExecAffinity``
209
212
- ``ctx_get_exec_affinity``
210
213
-
@@ -250,6 +253,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
250
253
* - ``cuCtxSynchronize``
251
254
- ``ctx_synchronize_v2``
252
255
- Parameters added: ``ctx``.
256
+
* - ``cuCtxSynchronize_v2``
257
+
- ``ctx_synchronize_v2``
258
+
-
253
259
* - ``cuCtxWaitEvent``
254
260
- ``ctx_wait_event``
255
261
-
@@ -520,6 +526,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
520
526
* - ``cuGraphAddNode``
521
527
- ``graph_add_node_v3``
522
528
-
529
+
* - ``cuGraphAddNode_v3``
530
+
- ``graph_add_node_v3``
531
+
-
523
532
* - ``cuGraphBatchMemOpNodeGetParams``
524
533
- ``graph_batch_mem_op_node_get_params``
525
534
-
@@ -721,6 +730,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
721
730
* - ``cuGraphNodeSetParams``
722
731
- ``graph_node_set_params_v2``
723
732
-
733
+
* - ``cuGraphNodeSetParams_v2``
734
+
- ``graph_node_set_params_v2``
735
+
-
724
736
* - ``cuGraphReleaseUserObject``
725
737
- ``graph_release_user_object``
726
738
-
@@ -853,6 +865,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
853
865
* - ``cuLaunchHostFunc``
854
866
- ``launch_host_func_v2``
855
867
- Parameters added: ``sync_mode``.
868
+
* - ``cuLaunchHostFunc_v2``
869
+
- ``launch_host_func_v2``
870
+
-
856
871
* - ``cuLaunchKernel``
857
872
- ``launch_kernel``
858
873
-
@@ -1294,12 +1309,18 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
1294
1309
* - ``cuMulticastBindAddr``
1295
1310
- ``multicast_bind_addr_v2``
1296
1311
- Parameters added: ``dev``.
1312
+
* - ``cuMulticastBindAddr_v2``
1313
+
- ``multicast_bind_addr_v2``
1314
+
-
1297
1315
* - ``cuMulticastBindMem``
1298
1316
- ``multicast_bind_mem``
1299
1317
-
1300
1318
* - ``cuMulticastBindMem``
1301
1319
- ``multicast_bind_mem_v2``
1302
1320
- Parameters added: ``dev``.
1321
+
* - ``cuMulticastBindMem_v2``
1322
+
- ``multicast_bind_mem_v2``
1323
+
-
1303
1324
* - ``cuMulticastCreate``
1304
1325
- ``multicast_create``
1305
1326
-
@@ -1402,6 +1423,9 @@ Where the C symbol has a version suffix (``cuCtxCreate_v2``), the legacy module
1402
1423
* - ``cuStreamGetCtx``
1403
1424
- ``stream_get_ctx_v2``
1404
1425
- Returns a 2-tuple ``(ctx, green_ctx)``. The legacy function returned only the context.
0 commit comments